[go: up one dir, main page]

JP2016114721A - Imaging apparatus and method of controlling the same - Google Patents

Imaging apparatus and method of controlling the same Download PDF

Info

Publication number
JP2016114721A
JP2016114721A JP2014252386A JP2014252386A JP2016114721A JP 2016114721 A JP2016114721 A JP 2016114721A JP 2014252386 A JP2014252386 A JP 2014252386A JP 2014252386 A JP2014252386 A JP 2014252386A JP 2016114721 A JP2016114721 A JP 2016114721A
Authority
JP
Japan
Prior art keywords
focus detection
focus
adjustment value
mode
defocus amount
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.)
Pending
Application number
JP2014252386A
Other languages
Japanese (ja)
Other versions
JP2016114721A5 (en
Inventor
慶大 船津
Keita Funatsu
慶大 船津
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 JP2014252386A priority Critical patent/JP2016114721A/en
Publication of JP2016114721A publication Critical patent/JP2016114721A/en
Publication of JP2016114721A5 publication Critical patent/JP2016114721A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】 安定して高精度なAF調整値の取得を可能にすることを目的とする。【解決手段】 位相差検出方式の第一の焦点検出手段による焦点検出結果を調整するためのAF調整値を取得する調整モードとして、複数の異なる焦点状態の画像の中から使用者により選択された画像の焦点状態に基づいてAF調整値を算出する第一のモードと、撮像面位相差検出方式の第二の焦点検出手段による焦点検出結果に基づいてAF調整値を算出する第二のモードを備える。AF調整値を算出する対象となる焦点検出領域において、第一の焦点検出手段によるデフォーカス量の検出方向に応じて、第一のモードと第二のモードを切り替える。【選択図】 図8PROBLEM TO BE SOLVED: To enable acquisition of an AF adjustment value stably and highly accurately. As an adjustment mode for acquiring an AF adjustment value for adjusting a focus detection result by a first focus detection unit of a phase difference detection method, a mode selected from a plurality of images in different focus states is selected. A first mode for calculating the AF adjustment value based on the focus state of the image and a second mode for calculating the AF adjustment value based on the focus detection result by the second focus detection means of the imaging surface phase difference detection method. Prepare. In the focus detection area that is the target for calculating the AF adjustment value, the first mode and the second mode are switched according to the detection direction of the defocus amount by the first focus detection means. [Selection] Figure 8

Description

本発明は、自動焦点調節機能を有する撮像装置に関するものである。   The present invention relates to an imaging apparatus having an automatic focus adjustment function.

一眼レフカメラなどの撮像装置の自動焦点調節機能(AF)として、交換レンズ内の撮影光学系を通過した光により形成された一対の像信号の位相差から撮影光学系の焦点状態(デフォーカス量)を検出する位相差検出方式によるAFが知られている。このような位相差検出方式によるAFを用いてピント合わせを行う際に、種々の原因によりピント誤差が生じる場合がある。例えば、特にレンズ交換式のカメラシステムの場合には、カメラ本体と交換レンズの双方に製造上(例えば、入力された駆動信号に対して実際にフォーカスレンズが駆動される位置)の誤差を含む場合がある。あるいは、AF結果を補正するための補正値(例えば、焦点検出結果に基づくフォーカスレンズ位置の演算結果と真に合焦が得られるフォーカスレンズ位置とのずれを補正する値)の誤差を含む場合がある。このような誤差があると、許容量より大きくピントがずれてしまう可能性がある。   As an automatic focus adjustment function (AF) of an imaging apparatus such as a single-lens reflex camera, the focus state (defocus amount) of the imaging optical system is determined from the phase difference between a pair of image signals formed by light passing through the imaging optical system in the interchangeable lens AF using a phase difference detection method for detecting) is known. When focusing using such phase difference detection AF, focus errors may occur due to various causes. For example, particularly in the case of an interchangeable lens camera system, both the camera body and the interchangeable lens include manufacturing errors (for example, the position where the focus lens is actually driven with respect to the input drive signal). There is. Alternatively, it may include an error of a correction value for correcting the AF result (for example, a value for correcting a deviation between the calculation result of the focus lens position based on the focus detection result and the focus lens position where the focus is truly obtained). is there. If there is such an error, there is a possibility that the focus is shifted more than the allowable amount.

そこで、使用者が位相差検出方式によるAF結果を任意に微調節するための機能(AFマイクロアジャストメント)が知られている。この機能では、使用者が所望のAF調整値を予め撮像装置に設定し、実際の撮影時に焦点調節を行う際に、設定されたAF調整値を用いてピント位置を調整する。   Therefore, a function (AF microadjustment) for allowing the user to arbitrarily finely adjust the AF result by the phase difference detection method is known. In this function, the user sets a desired AF adjustment value in the imaging apparatus in advance, and adjusts the focus position using the set AF adjustment value when performing focus adjustment during actual shooting.

しかしながら、従来の方法では、使用者が期待するピントの画像を得るには、AF調整値を入力する作業と、設定したAF調整値で撮影して画像を確認する作業を繰り返す必要がある。そこで、使用者がより簡単に所望のAF調整値を設定するための方法が提案されている。   However, according to the conventional method, in order to obtain a focus image expected by the user, it is necessary to repeat an operation of inputting an AF adjustment value and an operation of confirming an image by photographing with the set AF adjustment value. Therefore, a method has been proposed for allowing a user to set a desired AF adjustment value more easily.

特許文献1では、所定幅ずつフォーカスレンズを移動させて、複数の異なるレンズ位置それぞれにおいて画像の撮影を順次自動的に行うことが開示されている(フォーカスブラケット撮影)。そして、撮影された複数枚の画像の中から使用者に選択された画像に対応するピント位置変位量を基に、位相差検出方式のAFを行う際の補正値を決定することが開示されている。   Patent Document 1 discloses that a focus lens is moved by a predetermined width and images are automatically captured sequentially at a plurality of different lens positions (focus bracket imaging). Then, it is disclosed that a correction value for performing phase difference detection AF is determined based on a focus position displacement amount corresponding to an image selected by a user from a plurality of captured images. Yes.

また、特許文献2では、撮像素子に焦点検出用の画素を備え、撮像面位相差検出方式のAF結果とセンサー別体型位相差検出方式のAF結果とを用いて、センサー別体型位相差検出方式のAFを行う際の補正値を決定することが開示されている。   Further, in Patent Document 2, an image sensor is provided with a focus detection pixel, and a sensor-specific phase difference detection method using an AF result of an imaging surface phase difference detection method and an AF result of a sensor-specific phase difference detection method. It is disclosed to determine a correction value when performing AF.

特開2005−109621号公報JP 2005-109621 A 特開2010−113073号公報JP 2010-113073 A

特許文献1のようにブラケット撮影された複数の画像から使用者が所望のピントの画像を選択する場合、AF調整値のピント精度は使用者の判断に依存する。また、連続する2枚の画像の中間に真の合焦位置がある場合、正確にピントを合わせるためのAF調整値を得ることができない。そこで、特許文献2のように撮像面位相差検出方式を用いた場合に、より細かい画素ピッチで焦点検出を行うことで、精度の高いAF調整値を得ることが期待される。   When a user selects a desired focus image from a plurality of bracketed images as in Patent Document 1, the focus accuracy of the AF adjustment value depends on the user's judgment. Also, when the true in-focus position is in the middle of two consecutive images, it is not possible to obtain an AF adjustment value for accurately focusing. Therefore, when the imaging plane phase difference detection method is used as in Patent Document 2, it is expected that a highly accurate AF adjustment value is obtained by performing focus detection with a finer pixel pitch.

しかしながら、撮像面位相差検出方式の特性により、撮像面位相差AFを使用できない場面や、使用できたとしても検出結果の信頼性が低くなる場面がある。このような場合、特許文献2の方法で精度の良いAF調整値を取得することができない。   However, due to the characteristics of the imaging surface phase difference detection method, there are cases where the imaging surface phase difference AF cannot be used, and even if it can be used, the reliability of the detection result is lowered. In such a case, an accurate AF adjustment value cannot be obtained by the method of Patent Document 2.

そこで、本発明は、安定して高精度なAF調整値の取得を可能にすることを目的とする。   Accordingly, an object of the present invention is to make it possible to acquire an AF adjustment value stably and with high accuracy.

上記目的を達成するために、本発明は、少なくとも一つの焦点検出領域に対して、焦点検出結果の調整に用いる調整値を取得するための調整モードを有する撮像装置であって、位相差検出方式の焦点検出に用いる像信号を生成する画素を備え、被写体像を光電変換して画像の撮像を行う撮像処理手段と、前記撮像処理手段から出力される像信号と異なる像信号に基づいてデフォーカス量を検出する第一の焦点検出手段と、前記撮像処理手段から出力される像信号に基づいてデフォーカス量を検出する第二の焦点検出手段と、フォーカスレンズの位置を制御する制御手段と、前記第一の焦点検出手段による検出結果の調整に用いる前記調整値を算出する算出手段とを有し、前記調整モードとして、複数の異なる焦点状態の画像の中から使用者により選択された画像の焦点状態に基づいて前記調整値を算出する第一のモードと、前記第二の焦点検出手段による検出結果に基づいて前記調整値を算出する第二のモードを備え、前記調整値を算出する対象となる前記焦点検出領域において、前記第一の焦点検出手段によるデフォーカス量の検出方向に応じて、前記第一のモードと前記第二のモードを切り替えることを特徴とする。   In order to achieve the above object, the present invention is an imaging apparatus having an adjustment mode for acquiring an adjustment value used for adjusting a focus detection result for at least one focus detection region, and comprising a phase difference detection method A pixel that generates an image signal to be used for focus detection, an imaging processing unit that photoelectrically converts an object image to capture an image, and defocusing based on an image signal that is different from the image signal output from the imaging processing unit First focus detection means for detecting the amount, second focus detection means for detecting the defocus amount based on the image signal output from the imaging processing means, control means for controlling the position of the focus lens, Calculation means for calculating the adjustment value used for adjustment of the detection result by the first focus detection means, and the adjustment mode allows the user to select from a plurality of images in different focus states. A first mode for calculating the adjustment value based on a focus state of the selected image, and a second mode for calculating the adjustment value based on a detection result by the second focus detection unit, The first mode and the second mode are switched in the focus detection region that is an adjustment value calculation target according to a detection direction of a defocus amount by the first focus detection unit. .

本発明によれば、安定して高精度なAF調整値の取得が可能になる。   According to the present invention, it is possible to stably and highly accurately acquire an AF adjustment value.

本実施形態における撮像装置の概略図Schematic diagram of an imaging apparatus according to the present embodiment 本実施形態における撮像装置及びレンズユニットのシステム構成を示すブロック図The block diagram which shows the system configuration | structure of the imaging device and lens unit in this embodiment. 第一焦点検出手段の構成を示す模式図Schematic diagram showing the configuration of the first focus detection means 第一焦点検出手段の測距点と測距ラインを示す図The figure which shows the ranging point and ranging line of a 1st focus detection means 実施例1における第二焦点検出手段の画素構成、および測距点と測距ラインを示す図The figure which shows the pixel structure of the 2nd focus detection means in Example 1, and a ranging point and a ranging line 第一調整手段によるAF調整値の算出方法を示す図The figure which shows the calculation method of AF adjustment value by a 1st adjustment means 第二調整手段によるAF調整値の算出方法を示す図The figure which shows the calculation method of AF adjustment value by a 2nd adjustment means 実施例1におけるAF調整値の取得処理を示すフローチャートFlowchart showing AF adjustment value acquisition processing in Embodiment 1 第一の調整モードにおける処理を示すフローチャートFlow chart showing processing in the first adjustment mode 第二の調整モードにおける処理を示すフローチャートFlowchart showing processing in the second adjustment mode 実施例2におけるAF調整値の取得処理を示すフローチャートFlowchart showing AF adjustment value acquisition processing in Embodiment 2 実施例3と実施例1のAF調整値の違いを示す図The figure which shows the difference of AF adjustment value of Example 3 and Example 1. 実施例4における第二焦点検出手段の測距点と測距ラインを示す図The figure which shows the ranging point and ranging line of the 2nd focus detection means in Example 4 実施例4におけるAF調整値の取得処理を示すフローチャートFlowchart showing AF adjustment value acquisition processing in Embodiment 4

<実施例1>
以下、本発明に係る実施例1の撮像装置について、図面を参照しながら説明する。図1において、カメラ本体200の前面にレンズユニット100が着脱可能に装着されている。カメラ本体200とレンズユニット100はマウント接点群104を介して電気的に接続される。
<Example 1>
Hereinafter, an imaging apparatus according to a first embodiment of the present invention will be described with reference to the drawings. In FIG. 1, the lens unit 100 is detachably mounted on the front surface of the camera body 200. The camera body 200 and the lens unit 100 are electrically connected via the mount contact group 104.

まず、レンズユニット100の構成について説明する。撮影レンズ101は、焦点調節のためのフォーカスレンズを含む。図1において、撮影レンズ101は1枚で示されているが、複数枚のレンズからなるレンズ群であってもよい。また、撮影レンズ101には、変倍のためのズームレンズや固定レンズを含んでもよい。絞り105は、カメラ本体200内に入射する光の量を調節する。撮影レンズ101と絞り105によって撮影光学系が構成される。   First, the configuration of the lens unit 100 will be described. The photographing lens 101 includes a focus lens for focus adjustment. In FIG. 1, the photographing lens 101 is shown as a single lens, but it may be a lens group composed of a plurality of lenses. Further, the photographing lens 101 may include a zoom lens or a fixed lens for zooming. The diaphragm 105 adjusts the amount of light that enters the camera body 200. The photographic lens 101 and the aperture 105 constitute a photographic optical system.

レンズ制御部103は、マウント接点群104を介してカメラ本体200とデータ通信を行い、カメラ本体200からの指示に基づいてレンズ駆動源102を制御することで、撮影レンズ101の位置を制御する。レンズ駆動源102は、撮影レンズ101を動かすための駆動源であり、ステッピングモータなどを用いて構成される。   The lens control unit 103 performs data communication with the camera body 200 via the mount contact group 104, and controls the position of the photographing lens 101 by controlling the lens driving source 102 based on an instruction from the camera body 200. The lens driving source 102 is a driving source for moving the photographing lens 101 and is configured using a stepping motor or the like.

次に、カメラ本体200の構成について説明する。撮像素子209(撮像処理手段)は、CCDセンサーやCMOSセンサー等を用いて構成され、撮像光学系を通過した光束によって形成される被写体像を光電変換して、撮像信号を出力する。なお、詳細は後述するが、本実施例の撮像素子209は、撮像面位相差検出方式の焦点検出に用いる像信号を生成可能である。シャッター208は、撮像素子209に入射する光量を制限する。   Next, the configuration of the camera body 200 will be described. The imaging element 209 (imaging processing means) is configured using a CCD sensor, a CMOS sensor, or the like, photoelectrically converts a subject image formed by a light beam that has passed through the imaging optical system, and outputs an imaging signal. Although details will be described later, the image sensor 209 according to the present exemplary embodiment can generate an image signal used for focus detection by the imaging surface phase difference detection method. The shutter 208 limits the amount of light that enters the image sensor 209.

半透過部を有する主ミラー201は、撮影時には撮影光束外へ退避し、焦点検出時には撮影光束内(光路中)に斜設される。図1では、主ミラー201が撮影光束内に挿入された状態(ミラーダウン)を示している。また、主ミラー201は、撮影光束内に斜設された状態で、撮影光学系を通過した光束の一部をピント板203、ペンタプリズム204、及び、接眼レンズ205から構成されるファインダ光学系に導く。また、主ミラー201によって反射された光束は、測光ユニットに入射し、撮影光学系を通過した被写体光学像の輝度信号と色差信号が検出される。   The main mirror 201 having a semi-transmissive portion is retracted out of the photographing light beam at the time of photographing, and is obliquely installed in the photographing light beam (in the optical path) at the time of focus detection. FIG. 1 shows a state where the main mirror 201 is inserted into the imaging light beam (mirror down). In addition, the main mirror 201 is provided in a finder optical system including a focus plate 203, a pentaprism 204, and an eyepiece lens 205, with a part of the light beam that has passed through the photographic optical system in a state of being inclined in the photographic light beam. Lead. Further, the light beam reflected by the main mirror 201 enters the photometric unit, and the luminance signal and color difference signal of the subject optical image that has passed through the photographing optical system are detected.

サブミラー202は、主ミラー201の動作に同期して主ミラー201に対して折り畳み、展開可能に構成されている。主ミラー201の半透過部を通過した光束の一部は、サブミラー202によって下方へ反射され、位相差方式の焦点検出ユニット207に入射し、フォーカスレンズの焦点状態が検出される。焦点検出ユニット207については、図4を用いて後述する。   The sub mirror 202 is configured to be foldable and unfoldable with respect to the main mirror 201 in synchronization with the operation of the main mirror 201. A part of the light beam that has passed through the semi-transmissive portion of the main mirror 201 is reflected downward by the sub-mirror 202 and enters the phase difference type focus detection unit 207 to detect the focus state of the focus lens. The focus detection unit 207 will be described later with reference to FIG.

カメラ本体200全体の制御を司るシステム制御部210は、CPUと、記憶装置であるRAMなどを用いて構成される。システム制御部210は、マウント接点群104を介してレンズ制御部103とデータ通信を行い、撮影レンズ101の駆動命令を送信する。   A system control unit 210 that controls the entire camera body 200 is configured using a CPU and a RAM that is a storage device. The system control unit 210 performs data communication with the lens control unit 103 via the mount contact group 104 and transmits a driving command for the photographing lens 101.

表示部としてのディスプレイユニット212は、撮影情報や撮影画像を表示し、ユーザーが確認できるようにするものである。ディスプレイユニット212への表示は、システム制御部210によって制御される。   A display unit 212 as a display unit displays shooting information and a shot image so that the user can check. The display on the display unit 212 is controlled by the system control unit 210.

操作部213は、システム制御部210に接続され、カメラ本体200の電源をオン・オフするための電源スイッチ、レリーズボタンなど、カメラ本体200を操作するための操作部材が設けられている。これらのスイッチやボタンを操作すると、その操作に応じた信号がシステム制御部210に入力される。なお、レリーズボタンには、使用者により操作されるレリーズボタンの第1ストローク操作(半押し操作)によりONするレリーズスイッチSW1と、第2ストローク操作(全押し操作)によりONするレリーズスイッチSW2とが接続されている。   The operation unit 213 is connected to the system control unit 210 and is provided with operation members for operating the camera body 200 such as a power switch and a release button for turning on / off the power of the camera body 200. When these switches and buttons are operated, a signal corresponding to the operation is input to the system control unit 210. The release button includes a release switch SW1 that is turned on by a first stroke operation (half-press operation) of a release button operated by a user, and a release switch SW2 that is turned on by a second stroke operation (full-press operation). It is connected.

カウンター214は、システム制御部210に接続され、ブラケット撮影を行う際の撮影回数をカウントする。カウンター214の計数値リセットは、システム制御部210により行われる。   The counter 214 is connected to the system control unit 210 and counts the number of shootings when bracket shooting is performed. The counter value of the counter 214 is reset by the system control unit 210.

EEPROMなどの記憶部211には、カメラ本体200固有のID情報(識別情報)や、基準レンズ(本カメラの工場調整時に用いられる撮影レンズ)を用いて調整された、撮影に関するパラメータの調整値等が記憶されている。EEPROMなどの記憶部211への記憶処理は、システム制御部210により行われる。   The storage unit 211 such as an EEPROM stores ID information (identification information) unique to the camera body 200, adjustment values of parameters related to shooting, which are adjusted using a reference lens (a shooting lens used during factory adjustment of the camera), and the like. Is remembered. Storage processing in the storage unit 211 such as an EEPROM is performed by the system control unit 210.

一方、レンズユニット100において、該レンズユニット100の焦点距離や開放絞り値等の性能情報、該レンズユニット100を識別するための固有の情報であるレンズID(識別)情報を記憶するメモリ(不図示)が設けられている。このメモリには、システム制御部210から通信により受け取った情報も記憶される。なお、性能情報およびレンズID情報は、カメラ本体200への装着時における初期通信により、レンズ制御部103からシステム制御部210に送信される。システム制御部210は、受信したこれらの情報を記憶部211に記憶する。   On the other hand, in the lens unit 100, a memory (not shown) that stores performance information such as a focal length and an open aperture value of the lens unit 100 and lens ID (identification) information that is unique information for identifying the lens unit 100. ) Is provided. This memory also stores information received from the system control unit 210 through communication. The performance information and the lens ID information are transmitted from the lens control unit 103 to the system control unit 210 by initial communication when the camera body 200 is mounted. The system control unit 210 stores the received information in the storage unit 211.

図2は、本実施例における撮像装置及びレンズユニットのシステム構成を示すブロック図である。図示される各機能は、システム制御部210の制御下で、図1で示したハードウェアとソフトウェアの協働により実現される。   FIG. 2 is a block diagram illustrating a system configuration of the imaging apparatus and the lens unit in the present embodiment. Each function shown in the figure is realized by the cooperation of the hardware and software shown in FIG. 1 under the control of the system control unit 210.

撮像手段2001は、撮像素子209を用いて画像を撮影する。第一焦点検出手段2002は、焦点検出ユニット207を用いて位相差検出方式により被写体のデフォーカス量を検出する。第二焦点検出手段2003は、撮像素子209から出力される焦点検出用の像信号を用いて位相差検出方式により被写体のデフォーカス量を検出する。レンズ制御手段2004は、システム制御部210とレンズ制御部103により、デフォーカス量に基づいてフォーカスレンズの駆動を制御する。   The image capturing unit 2001 captures an image using the image sensor 209. The first focus detection unit 2002 uses the focus detection unit 207 to detect the defocus amount of the subject by the phase difference detection method. The second focus detection unit 2003 detects the defocus amount of the subject by the phase difference detection method using the focus detection image signal output from the image sensor 209. The lens control unit 2004 controls the driving of the focus lens based on the defocus amount by the system control unit 210 and the lens control unit 103.

第一調整手段2005は、後述する第一の調整モードにおいて、焦点検出ユニット207による焦点検出結果を調整するためのAF調整値を算出する。第一調整手段2005は、第一焦点検出手段2002により検出される合焦位置と使用者が選ぶ合焦位置とのデフォーカス量の差分からAF調整値を算出する。   The first adjustment unit 2005 calculates an AF adjustment value for adjusting the focus detection result by the focus detection unit 207 in a first adjustment mode described later. The first adjustment unit 2005 calculates an AF adjustment value from the difference in the defocus amount between the focus position detected by the first focus detection unit 2002 and the focus position selected by the user.

第二調整手段2006は、後述する第二の調整モードにおいて、焦点検出ユニット207の焦点検出結果を調整するためのAF調整値を算出する。第二調整手段では、第一焦点検出手段2002により検出されるデフォーカス量と、同位置において第二焦点検出手段2003により検出されるデフォーカス量の差分からAF調整値を算出する。記憶手段2007は、第一調整手段2005或いは第二調整手段2006により算出されたAF調整値を記憶部211に記憶する。   The second adjustment unit 2006 calculates an AF adjustment value for adjusting the focus detection result of the focus detection unit 207 in a second adjustment mode described later. The second adjustment unit calculates an AF adjustment value from the difference between the defocus amount detected by the first focus detection unit 2002 and the defocus amount detected by the second focus detection unit 2003 at the same position. The storage unit 2007 stores the AF adjustment value calculated by the first adjustment unit 2005 or the second adjustment unit 2006 in the storage unit 211.

次に、図3および図4を用いて、第一焦点検出手段2002(焦点検出ユニット207)について説明する。図4は、焦点検出ユニット207の構成を示す模式図である。   Next, the first focus detection unit 2002 (focus detection unit 207) will be described with reference to FIGS. FIG. 4 is a schematic diagram showing the configuration of the focus detection unit 207.

図4において、予定焦点面の付近に配置されたフィールドレンズ401、2つのレンズからなる2次結像系のレンズ402aと402bが示されている。また、2次結像系の2つのレンズ402aと402bに対応してその後方に配置された2つのラインセンサー列403aと403bを含む光電変換素子403、2つの開口部404aと404bを有する絞り404が示されている。さらに、分割された2つの領域405aと405bを含む撮影レンズ101の射出瞳405が示されている。   FIG. 4 shows a field lens 401 disposed in the vicinity of the planned focal plane, and lenses 402a and 402b of the secondary imaging system composed of two lenses. In addition, a photoelectric conversion element 403 including two line sensor rows 403a and 403b disposed behind and corresponding to the two lenses 402a and 402b of the secondary imaging system, and a diaphragm 404 having two openings 404a and 404b. It is shown. Further, an exit pupil 405 of the photographing lens 101 including two divided areas 405a and 405b is shown.

図4の構成において、射出瞳405は、絞り404を投影しているので径は小さく、光電変換素子(ラインセンサー)403から取り出される信号はぼけにくくはっきりとした信号となる。したがって、例えば撮影レンズ101を図中左方に大きく繰り出して、撮像素子209より左方に光束が結像しても、光電変換素子403上の一対の像信号はぼけずに矢印Aの方向に変位する。この光電変換素子403で得られた一対の像信号の相対的な位置ずれ量を検出することで、撮影レンズ101の焦点状態(デフォーカス量)が検出される。つまり、焦点検出ユニット207において一度電荷蓄積動作を行えば、フォーカスレンズを移動すべき量と方向が得られる。そして、デフォーカス量の検出結果に基づいて、システム制御部210は、撮影レンズ101(フォーカスレンズ)の駆動を制御することで、焦点調節を行うことが可能である。なお、撮影レンズ101を図中右方に繰り込んだ場合、光電変換素子403上の一対の像信号は、図中矢印Aの方向とは反対方向に変位する。   In the configuration of FIG. 4, the exit pupil 405 has a small diameter because it projects the diaphragm 404, and the signal extracted from the photoelectric conversion element (line sensor) 403 is a clear signal that is difficult to blur. Therefore, for example, even if the photographing lens 101 is extended to the left in the drawing and a light beam forms an image on the left side of the image sensor 209, the pair of image signals on the photoelectric conversion element 403 is not blurred but in the direction of arrow A. Displace. The focus state (defocus amount) of the photographing lens 101 is detected by detecting the relative displacement amount of the pair of image signals obtained by the photoelectric conversion element 403. That is, once the charge accumulation operation is performed in the focus detection unit 207, the amount and direction to move the focus lens can be obtained. Then, based on the detection result of the defocus amount, the system control unit 210 can perform focus adjustment by controlling the driving of the photographing lens 101 (focus lens). When the photographing lens 101 is retracted to the right in the figure, the pair of image signals on the photoelectric conversion element 403 is displaced in the direction opposite to the direction of the arrow A in the figure.

図3は、一次結像面におけるラインセンサー(光電変換素子)の逆投影像を示している。図3において、水平方向のラインセンサーに対応する測距ライン301、303、304は、縦線を主とする被写体の焦点検出に適している。また、垂直方向のラインセンサーに対応する測距ライン302、305、306は、横線を主とする被写体の焦点検出に適している。なお、斜め方向のラインセンサーをさらに備えてもよい。図中のA〜Eは測距点(焦点検出領域)を示す。測距点Aは、水平方向と垂直方向の測距ラインから構成され、クロス目と呼ぶ。測距点BとCは、水平方向の測距ラインから構成され横目と呼び、測距点DとEは、垂直方向の測距ラインから構成され縦目と呼ぶ。本実施例では、中央の測距点Aに対してAF調整値を算出し、周りの測距点B〜Eにも同じAF調整値を反映させるものとして説明する。   FIG. 3 shows a back-projected image of the line sensor (photoelectric conversion element) on the primary imaging plane. In FIG. 3, distance measuring lines 301, 303, and 304 corresponding to the horizontal line sensor are suitable for focus detection of a subject mainly including vertical lines. Further, the distance measuring lines 302, 305, and 306 corresponding to the vertical line sensor are suitable for detecting the focus of a subject mainly including horizontal lines. An oblique line sensor may be further provided. A to E in the figure indicate distance measuring points (focus detection areas). The distance measuring point A is composed of distance measuring lines in the horizontal direction and the vertical direction, and is called a cross eye. Distance measuring points B and C are composed of horizontal distance measuring lines and are called horizontal eyes, and distance measuring points D and E are composed of vertical distance measuring lines and are called vertical eyes. In this embodiment, an AF adjustment value is calculated for the center distance measuring point A, and the same AF adjustment value is reflected on the surrounding distance measurement points B to E.

なお、測距点と測距ラインの配置や数は、図3の構成に限定されない。例えば、クロス目の測距ラインを有する測距点を複数備えてもよい。   The arrangement and number of distance measuring points and distance measuring lines are not limited to the configuration shown in FIG. For example, a plurality of ranging points having cross-type ranging lines may be provided.

次に、図5を用いて、第二焦点検出手段2003による、撮像素子209から出力される像信号を用いた撮像面位相差検出方式の焦点検出(以下、撮像面位相差AF)について説明する。図5(A)は、撮像面位相差AFに対応した撮像素子209の画素の構成例を示す模式図である。ここでは、ベイヤ配列の原色カラーフィルタが設けられているものとする。   Next, focus detection (hereinafter referred to as imaging plane phase difference AF) of the imaging plane phase difference detection method using the image signal output from the imaging element 209 by the second focus detection unit 2003 will be described with reference to FIG. . FIG. 5A is a schematic diagram illustrating a configuration example of pixels of the image sensor 209 corresponding to the imaging surface phase difference AF. Here, it is assumed that a Bayer array primary color filter is provided.

図5(A)の画素構成では、一画素が水平方向に二分割されており、AとB二つのフォトダイオード(光電変換素子)が設けられている。各画素に入射する光束をマイクロレンズで分離し、画素に設けられた二つのフォトダイオードで受光することで、一つの画素で撮像用とAF用の二つの信号が取得できる。つまり、画素内の二つのフォトダイオードA、B(A画素、B画素)のそれぞれで得られる信号がAF用の二つの像信号であり、加算信号が撮像信号である。なお、上述した焦点検出ユニット207で用いる一対の像信号が複数の画素を有するラインセンサーの一対により生成されるように、撮像面位相差AFで用いる一対の像信号も、複数のA画素と複数のB画素の出力から得られる。第一焦点検出手段2002と同様に、撮像面位相差AFにおいても、AF用の一対の像信号に対して相関演算を行い、相対的な位置ずれ量を検出することで、撮影レンズ101の焦点状態(デフォーカス量)が検出される。第二焦点検出手段2003の画素ピッチは第一焦点検出手段2002のラインセンサーの画素ピッチより小さく、より高精度な焦点検出が可能である。   In the pixel configuration in FIG. 5A, one pixel is divided into two in the horizontal direction, and two photodiodes A and B (photoelectric conversion elements) are provided. A light beam incident on each pixel is separated by a microlens and received by two photodiodes provided in the pixel, whereby two signals for imaging and AF can be acquired by one pixel. That is, the signals obtained by the two photodiodes A and B (A pixel and B pixel) in the pixel are the two image signals for AF, and the addition signal is the imaging signal. It should be noted that the pair of image signals used in the imaging plane phase difference AF also includes the plurality of A pixels and the plurality of pixels so that the pair of image signals used in the focus detection unit 207 described above is generated by a pair of line sensors having a plurality of pixels. Obtained from the output of the B pixel. Similarly to the first focus detection unit 2002, in the imaging plane phase difference AF, the correlation calculation is performed on the pair of image signals for AF, and the relative position shift amount is detected, thereby detecting the focus of the photographing lens 101. A state (defocus amount) is detected. The pixel pitch of the second focus detection unit 2003 is smaller than the pixel pitch of the line sensor of the first focus detection unit 2002, and more accurate focus detection is possible.

図5(B)は、本実施例の第二焦点検出手段2003の測距ラインを示す図である。本実施例においては、図5(A)で説明したように、撮像面位相差AFに用いられる各画素が水平方向に二分割されているものとする。そのため、第一焦点検出手段2002とは異なり、第二焦点検出手段2003では水平方向の測距ライン501のみ存在する。したがって、本実施例の第二焦点検出手段2003は、横線を主とする被写体の焦点検出には適さない。   FIG. 5B is a diagram illustrating a distance measuring line of the second focus detection unit 2003 of the present embodiment. In the present embodiment, as described with reference to FIG. 5A, each pixel used for the imaging plane phase difference AF is divided into two in the horizontal direction. Therefore, unlike the first focus detection unit 2002, the second focus detection unit 2003 has only a horizontal distance measuring line 501. Therefore, the second focus detection unit 2003 of the present embodiment is not suitable for focus detection of a subject mainly including horizontal lines.

また、第二焦点検出手段2003では、測距ライン501を、周辺領域を除く枠502内に自由に設定することができる。そのため、第一焦点検出手段2002の測距ラインが存在する場所に合わせて第二焦点検出手段2003の測距ラインを設定し、それぞれのデフォーカス量を比較することで、第二調整手段2006による調整値の算出が可能になる。なお、本実施例では、画面上の領域において第二焦点検出手段2003で焦点検出可能な範囲は、第一焦点検出手段2002で焦点検出可能な範囲を含むものとして説明するが、この構成に限定されるものではない。仮に、第一焦点検出手段2002における測距点に対応する第二焦点検出手段2003の測距ラインが存在しない場合、第一調整手段2005によりAF調整値を取得することが可能である。   In the second focus detection unit 2003, the distance measuring line 501 can be freely set within the frame 502 excluding the peripheral region. Therefore, the second adjustment means 2006 sets the distance measurement line of the second focus detection means 2003 in accordance with the location where the distance measurement line of the first focus detection means 2002 exists, and compares the respective defocus amounts. Adjustment value can be calculated. In this embodiment, the range in which the focus can be detected by the second focus detection unit 2003 in the region on the screen is described as including the range in which the focus can be detected by the first focus detection unit 2002. However, the present invention is limited to this configuration. Is not to be done. If there is no distance measurement line of the second focus detection means 2003 corresponding to the distance measurement point in the first focus detection means 2002, the first adjustment means 2005 can acquire the AF adjustment value.

図6を用いて、第一調整手段2005において実行される、第一の調整モードについて説明する。第一の調整モードでは、ピントをずらしながら複数枚の画像を撮影し(フォーカスブラケット撮影)、複数枚の画像の中から使用者により選択された画像の焦点状態に基づいてAF調整値が算出される。図6において、矢印は、レンズ制御手段2004によるフォーカスレンズの駆動方向と駆動量を示している。図中のレンズ位置605は、フォーカスブラケット撮影を開始する前に第一焦点検出手段2002により焦点検出を行って得られた合焦位置を示している。   The first adjustment mode executed in the first adjustment unit 2005 will be described with reference to FIG. In the first adjustment mode, a plurality of images are shot while shifting the focus (focus bracket shooting), and the AF adjustment value is calculated based on the focus state of the image selected by the user from the plurality of images. The In FIG. 6, arrows indicate the driving direction and driving amount of the focus lens by the lens control unit 2004. A lens position 605 in the figure indicates a focus position obtained by performing focus detection by the first focus detection unit 2002 before starting focus bracket photographing.

第一の調整モードでは、レンズ位置605で示される合焦位置から、開始位置にフォーカスレンズを第一の駆動量動かし、そこを起点として、より細かい第二の駆動量ずつフォーカスレンズを駆動させる。第一の駆動量は、フォーカスレンズの合焦判定幅(合焦位置から当該幅の範囲内であれば合焦とみなす)を基準として決めるのが通常であり、合焦判定幅の2、3倍が目安となる。駆動量が大きすぎるとピントの変化が粗すぎることになり、小さすぎるとピントの変化が細かすぎて、後で複数の画像から1つを選択することが困難となる。図中のレンズ位置601〜609は、それぞれデフォーカス量の検出、および、撮影動作を行うフォーカスレンズ位置を表している。即ち、最初に焦点検出を行って得られた合焦位置605に対して、至近側と無限側の両方で、第二の駆動量ずつフォーカスレンズを移動しながらデフォーカス量の検出と撮影動作を所定回数分行う。   In the first adjustment mode, the focus lens is moved to the start position from the in-focus position indicated by the lens position 605, and the focus lens is driven by a finer second drive amount starting from that position. The first drive amount is usually determined based on the focus determination width of the focus lens (considered as in-focus if within the range of the width from the focus position). Double is a guide. If the drive amount is too large, the focus change is too coarse, and if it is too small, the focus change is too fine, and it becomes difficult to select one from a plurality of images later. Lens positions 601 to 609 in the drawing represent focus lens positions at which the defocus amount is detected and the photographing operation is performed. That is, the defocus amount detection and photographing operation are performed while moving the focus lens by the second drive amount on both the close side and the infinite side with respect to the in-focus position 605 obtained by performing the focus detection first. Perform a predetermined number of times.

使用者は、レンズ位置601〜609のそれぞれで撮影された画像P601〜P609の中から所望のピントの画像を選択する。同図では、レンズ位置607で撮影された画像P607が使用者により選択されたとする。システム制御部210は、選択された画像のレンズ位置におけるデフォーカス量D607と、合焦位置605でのデフォーカス量D605との差分に基づいてAF調整値を算出する。本実施例では、デフォーカス量を所定の単位系(例えば、深度を示すFδの関数を1単位とする)に換算することで、AF調整値が算出される。算出されたAF調整値は、第一の調整モードにおけるAF調整値として、記憶手段2007により記憶部211に記憶される。以上が、第一調整手段2005によりAF調整値を算出する流れである。 The user selects a desired focus image from the images P 601 to P 609 captured at the lens positions 601 to 609 . In the figure, it is assumed that an image P 607 photographed at the lens position 607 is selected by the user. The system control unit 210 includes a defocus amount D 607 at the lens position of the selected image, it calculates the AF adjustment value based on a difference between the defocus amount D 605 at focus position 605. In this embodiment, the AF adjustment value is calculated by converting the defocus amount into a predetermined unit system (for example, a function of Fδ indicating the depth is one unit). The calculated AF adjustment value is stored in the storage unit 211 by the storage unit 2007 as an AF adjustment value in the first adjustment mode. The above is the flow of calculating the AF adjustment value by the first adjustment unit 2005.

次に、図7を用いて、第二調整手段2006において実行される、第二の調整モードについて説明する。第二の調整モードでは、まずレンズ制御手段2004は、第一焦点検出手段2002(焦点検出ユニット207)により検出された結果に基づく合焦位置705までフォーカスレンズを駆動する。そして、第一焦点検出手段2002によりデフォーカス量D705を算出し、合わせて第二焦点検出手段2003によりデフォーカス量E705を算出する。システム制御部210は、D705とE705との差分に基づいてAF調整値を算出する。第二の調整モードにおいても、デフォーカス量を上述した所定の単位系に換算することで、AF調整値が算出される。算出されたAF調整値は、第二の調整モードにおけるAF調整値として、記憶手段2007により記憶部211に記憶される。なお、第二の調整モードにおいては、使用者は第一の調整モードのように画像を選択する必要がないので、合焦位置705において画像P705を撮影しなくてよい。以上が、第二調整手段2006によりAF調整値を算出する流れである。 Next, the second adjustment mode executed in the second adjustment unit 2006 will be described with reference to FIG. In the second adjustment mode, the lens control unit 2004 first drives the focus lens to the in-focus position 705 based on the result detected by the first focus detection unit 2002 (focus detection unit 207). Then, the defocus amount D 705 is calculated by the first focus detection unit 2002, and the defocus amount E 705 is calculated by the second focus detection unit 2003. The system control unit 210 calculates an AF adjustment value based on the difference between D 705 and E 705 . Also in the second adjustment mode, the AF adjustment value is calculated by converting the defocus amount into the predetermined unit system described above. The calculated AF adjustment value is stored in the storage unit 211 by the storage unit 2007 as an AF adjustment value in the second adjustment mode. In the second adjustment mode, since the user does not need to select an image as in the first adjustment mode, the image P 705 need not be taken at the in-focus position 705. The above is the flow of calculating the AF adjustment value by the second adjustment unit 2006.

上述のように、第一調整手段2005に比べ、第二調整手段2006のほうが処理がシンプルで効率的である。また、第一調整手段2005では、AF調整値のピント精度が使用者の判断に依存する。さらに、2枚の画像の中間に真の合焦位置がある場合、正確にピントを合わせるためのAF調整値を得ることができない。そのため、高精度なAF調整値を得るには第二調整手段2006を使用するのが望ましい。   As described above, the second adjustment unit 2006 is simpler and more efficient than the first adjustment unit 2005. In the first adjustment unit 2005, the focus accuracy of the AF adjustment value depends on the judgment of the user. In addition, when there is a true in-focus position between the two images, an AF adjustment value for accurately focusing cannot be obtained. For this reason, it is desirable to use the second adjustment means 2006 to obtain a highly accurate AF adjustment value.

しかしながら、第二調整手段2006で高精度なAF調整値を得るには、第一焦点検出手段2002と第二焦点検出手段2003でデフォーカス量の検出方向が同じという条件を満たす必要がある。図4および図5で説明したように、本実施例では、第一焦点検出手段2002は横目と縦目のいずれか、あるいは両方に対応する測距点を備えるが、第二焦点検出手段2003は横目しか備えていない。そのため、第一焦点検出手段2002の縦目の測距点を用いる場合、第二調整手段2006によりAF調整値を算出することができない。   However, in order for the second adjustment unit 2006 to obtain a highly accurate AF adjustment value, it is necessary to satisfy the condition that the first focus detection unit 2002 and the second focus detection unit 2003 have the same defocus amount detection direction. As described with reference to FIGS. 4 and 5, in the present embodiment, the first focus detection unit 2002 includes ranging points corresponding to either or both of the horizontal eye and the vertical eye, but the second focus detection unit 2003 includes It has only a horizontal eye. For this reason, when the longitudinal distance measuring point of the first focus detection unit 2002 is used, the AF adjustment value cannot be calculated by the second adjustment unit 2006.

このように、第一焦点検出手段2002でデフォーカス量を検出可能な方向と、第二焦点検出手段2003でデフォーカス量を検出可能な方向が必ずしも一致しない場合が想定される。そこで、実施例1では、図8のフローチャートに示す通り、撮影条件により第一調整手段2005と第二調整手段2006を切り替える。   In this way, it is assumed that the direction in which the first focus detection unit 2002 can detect the defocus amount and the direction in which the second focus detection unit 2003 can detect the defocus amount do not necessarily match. Therefore, in the first embodiment, the first adjustment unit 2005 and the second adjustment unit 2006 are switched according to the shooting conditions as shown in the flowchart of FIG.

図8は、実施例1におけるAF調整値の取得処理を示すフローチャートである。まずステップS801において、調整対象となる第一焦点検出手段2002(焦点検出ユニット207)の測距点に対応するラインセンサーのデフォーカス量検出方向(測距ラインの方向)を判定する。本実施例では中央の測距点(クロス目)のみに対してAF調整値を算出するものとして説明するが、中央以外の測距点でもAF調整値を算出可能にしてもよい。その場合、複数の測距点の中からAF調整値を算出する測距点を選択する方法として、使用者の操作により選択する方法や、カメラが自動で選択する方法などが適用可能である。デフォーカス量検出方向が垂直方向の場合(図3の測距点D、E)はステップS802へ、水平方向の場合(図3の測距点B、C)はステップS803へ、クロスの場合(図3の測距点A)はステップS804へ進む。   FIG. 8 is a flowchart illustrating AF adjustment value acquisition processing according to the first embodiment. First, in step S801, the defocus amount detection direction (range measurement line direction) of the line sensor corresponding to the distance measurement point of the first focus detection unit 2002 (focus detection unit 207) to be adjusted is determined. In the present embodiment, the AF adjustment value is calculated only for the center distance measuring point (cross eye), but the AF adjustment value may be calculated at a distance measuring point other than the center. In this case, as a method for selecting a distance measuring point for calculating an AF adjustment value from a plurality of distance measuring points, a method for selecting by a user operation, a method for automatic selection by a camera, or the like can be applied. If the defocus amount detection direction is the vertical direction (ranging points D and E in FIG. 3), the process proceeds to step S802. If the defocus amount detection direction is the horizontal direction (ranging points B and C in FIG. 3), the process proceeds to step S803. The distance measuring point A) in FIG. 3 proceeds to step S804.

ステップS802に進んだ場合は、上述したように第二調整手段2006によりAF調整値を算出することができないため、第一調整手段2005により第一の調整モードを実行してAF調整値を算出する。第一の調整モードの詳細については、図9を用いて後述する。   When the process proceeds to step S802, since the AF adjustment value cannot be calculated by the second adjustment unit 2006 as described above, the first adjustment mode is executed by the first adjustment unit 2005 to calculate the AF adjustment value. . Details of the first adjustment mode will be described later with reference to FIG.

一方、ステップS803に進んだ場合は、第二調整手段2006により第二の調整モードを実行してAF調整値を算出する。第二の調整モードの詳細については、図10を用いて後述する。   On the other hand, if the process proceeds to step S803, the second adjustment unit 2006 executes the second adjustment mode to calculate the AF adjustment value. Details of the second adjustment mode will be described later with reference to FIG.

ステップS804に進んだ場合、調整に用いるラインセンサーを選択する処理を行う。ステップS804では、システム制御部210は、調整対象の測距点に対応する水平方向と垂直方向のラインセンサーでデフォーカス量を検出するように焦点検出ユニット207を制御する。   When the process proceeds to step S804, processing for selecting a line sensor used for adjustment is performed. In step S804, the system control unit 210 controls the focus detection unit 207 so that the defocus amount is detected by the horizontal and vertical line sensors corresponding to the distance measuring point to be adjusted.

ステップS804で検出されたデフォーカス量に基づいて、ステップS805では、システム制御部210は、レンズ制御部103に駆動命令を送信して、フォーカスレンズを駆動するように制御する。なお、水平方向と垂直方向それぞれのラインセンサーで検出されたデフォーカス量の中で、像信号の信頼性が高いラインセンサーで検出されたものがフォーカスレンズの駆動制御に用いられる。像信号の信頼性の評価については、ステップS807で後述する。ステップS806で合焦状態と判定するまでステップS804とS805の処理を繰り返し、合焦状態と判定するとステップS807へ進む。   Based on the defocus amount detected in step S804, in step S805, the system control unit 210 transmits a drive command to the lens control unit 103 to control to drive the focus lens. Of the defocus amounts detected by the line sensors in the horizontal direction and the vertical direction, those detected by the line sensor with high image signal reliability are used for drive control of the focus lens. The evaluation of the reliability of the image signal will be described later in step S807. The processing in steps S804 and S805 is repeated until it is determined in step S806 that the in-focus state is obtained.

ステップS807では、システム制御部210は、水平方向と垂直方向それぞれのラインセンサーの焦点検出結果から像信号の信頼性が最も高いラインセンサーを選択し記憶する。ここでの像信号の信頼性とは、例えば像信号のコントラストに関する値で評価される。この場合、像信号のコントラストが高いほど信頼性が高いといえる。信頼性の指標として、例えば特開2007−52072号公報にて開示されているSレベル値を用いてもよい。Sレベル値は、像信号に関する情報として、一対の像信号の一致度、エッジの数(相関変化量)、シャープネスおよび明暗比とをパラメータとする値である。ステップS807で選択される光電変換素子を後述するフォーカスブラケット撮影時の焦点検出に用いることで、より高いコントラストの像信号が得られるため、高精度にデフォーカス量を検出することができる。また、合焦位置では被写体のエッジ方向が判別しやすいため、本実施例のように合焦と判定された状態での像信号を用いてラインセンサーの選択を行うことで、被写体のエッジ方向に応じた適切なラインセンサーの選択を行うことが可能になる。   In step S807, the system control unit 210 selects and stores a line sensor with the highest image signal reliability from the focus detection results of the horizontal and vertical line sensors. The reliability of the image signal here is evaluated by a value relating to the contrast of the image signal, for example. In this case, it can be said that the higher the contrast of the image signal, the higher the reliability. As an index of reliability, for example, an S level value disclosed in Japanese Patent Application Laid-Open No. 2007-52072 may be used. The S level value is a value that uses, as parameters, the degree of coincidence of a pair of image signals, the number of edges (correlation change amount), sharpness, and contrast ratio as information about the image signals. By using the photoelectric conversion element selected in step S807 for focus detection at the time of focus bracket photography, which will be described later, an image signal with higher contrast can be obtained, so that the defocus amount can be detected with high accuracy. In addition, since it is easy to determine the edge direction of the subject at the in-focus position, by selecting the line sensor using the image signal in the state determined to be in focus as in this embodiment, the edge direction of the subject is determined. It is possible to select an appropriate line sensor according to the response.

ステップS808では、ステップS807で選択されたラインセンサーのデフォーカス量検出方向を判定する。選択されたラインセンサーが垂直方向であればステップS809へ、水平方向であればステップS810へ進む。ステップS809に進んだ場合は、第一の調整モードを実行してAF調整値を算出する。一方、ステップS810に進んだ場合は、第二の調整モードを実行してAF調整値を算出する。   In step S808, the defocus amount detection direction of the line sensor selected in step S807 is determined. If the selected line sensor is in the vertical direction, the process proceeds to step S809. If the selected line sensor is in the horizontal direction, the process proceeds to step S810. If the process proceeds to step S809, the first adjustment mode is executed to calculate the AF adjustment value. On the other hand, if the process proceeds to step S810, the second adjustment mode is executed to calculate the AF adjustment value.

ステップS802、S803、S809、S810のいずれかでAF調整値が算出されると、ステップS811へ進む。ステップS811では、記憶手段2007により、AF調整値を記憶部211に記憶する。実施例1では、中央の測距点に、縦目・横目いずれかで算出されたAF調整値が記憶される。記憶されたAF調整値は、実際の撮影時(記録用画像の撮影)において、第一焦点検出手段2002(焦点検出ユニット207)によって検出される位相差AFの焦点検出結果を調整するのに用いられる。   When the AF adjustment value is calculated in any of steps S802, S803, S809, and S810, the process proceeds to step S811. In step S811, the storage unit 2007 stores the AF adjustment value in the storage unit 211. In the first embodiment, the AF adjustment value calculated for either the vertical eye or the horizontal eye is stored at the center distance measuring point. The stored AF adjustment value is used to adjust the focus detection result of the phase difference AF detected by the first focus detection unit 2002 (focus detection unit 207) during actual shooting (shooting the recording image). It is done.

図9を用いて第一の調整モードで実行される処理について説明する。図9は、第一の調整モードにおける処理の手順を示すフローチャートである。   Processing executed in the first adjustment mode will be described with reference to FIG. FIG. 9 is a flowchart illustrating a processing procedure in the first adjustment mode.

まずステップS901では、システム制御部210は、第一焦点検出手段2002による焦点検出結果に基づいて、合焦位置までフォーカスレンズを駆動するよう制御する。ステップS809に進んで本フローを実行する場合は、すでに合焦状態へフォーカスレンズを駆動しているため、ステップS901の処理を省略してよい。   First, in step S <b> 901, the system control unit 210 controls to drive the focus lens to the in-focus position based on the focus detection result by the first focus detection unit 2002. When the process proceeds to step S809 and this flow is executed, the process of step S901 may be omitted because the focus lens is already driven to the in-focus state.

ステップS902では、第一焦点検出手段2002によりデフォーカス量Dを検出する。ここで複数回デフォーカス量を検出して、その平均値をデフォーカス量Dとしてもよい。理想的にはデフォーカス量Dは0になるが、被写体の変化やフォーカスレンズの停止位置のずれ等により、デフォーカス量Dが必ずしも0にならない可能性がある。 At step S902, the detected defocus amount D 0 by the first focus detection unit 2002. Where it detects a plurality of times defocus amount may be the average value as the defocus amount D 0. It becomes the defocus amount D 0 0 ideally, but by displacement of the stop position of the change and the focus lens of the subject, there is a possibility that the defocus amount D 0 does not always become zero.

ステップS903では、システム制御部210は、レンズ制御部103へ駆動命令を送信して、フォーカスレンズを駆動するよう制御する。第一の調整モード開始直後(1枚目の撮影)においては、フォーカスブラケット撮影動作を開始するフォーカスレンズ位置(開始位置)まで、上述の第一の移動量だけフォーカスレンズを駆動させる。2枚目以降の撮影においては、上述の第二の移動量ずつフォーカスレンズを駆動させる。   In step S903, the system control unit 210 transmits a drive command to the lens control unit 103 to control the focus lens to be driven. Immediately after the start of the first adjustment mode (first image shooting), the focus lens is driven by the above-described first movement amount to the focus lens position (start position) at which the focus bracket shooting operation is started. In the second and subsequent photographing, the focus lens is driven by the second movement amount described above.

ステップS904では、現在のフォーカスレンズ位置で第一焦点検出手段2002によりデフォーカス量Dを検出する。ここで複数回デフォーカス量を検出して、その平均値をデフォーカス量Dとしてもよい。 In step S904, the defocus amount Di is detected by the first focus detection unit 2002 at the current focus lens position. Where it detects a plurality of times defocus amount may be the average value as the defocus amount D i.

ステップS905では、システム制御部210は、ステップS902とS904で検出されたデフォーカス量DとDから、デフォーカス量の差分Tを算出する。 In step S905, the system control unit 210 calculates a defocus amount difference T i from the defocus amounts D 0 and D i detected in steps S902 and S904.

ステップS906では、撮像手段2001により画像Pを撮影する。ステップS907では、記憶手段2007は、ステップS905で算出された差分TとステップS906で撮影された画像を対応づけて内部メモリに記憶する。 In step S906, taking an image P i by the imaging unit 2001. In step S907, the storage unit 2007 stores the image captured by the difference T i and step S906 which is calculated in step S905 in the internal memory in association.

ステップS908では、システム制御部210は、撮影回数がブラケット撮影回数i(本実施例ではi=9)に達したかどうかを判定する。撮影回数がi回に達していればステップS909へ進み、撮影回数がi回に達していなければステップS903へ戻る。   In step S908, the system control unit 210 determines whether or not the number of shootings has reached the bracket shooting number i (i = 9 in this embodiment). If the number of shootings has reached i times, the process proceeds to step S909, and if the number of shootings has not reached i times, the process returns to step S903.

ステップS909では、システム制御部210は、ステップS906で撮影された複数枚の画像P〜Pをディスプレイユニット212に表示するよう制御し、使用者によって画像が選択されるのを待つ。画像が選択されるとステップS910へ進む。 In step S909, the system control unit 210 controls to display a plurality of images P 1 to P 9 taken at step S906 on the display unit 212 waits for the image by the user is selected. If an image is selected, the process proceeds to step S910.

ステップS910では、ステップS909で選択された画像に対応づけて記憶されている差分Tを上述した方法でAF調整値に換算する。なお、本実施例ではデフォーカス量の差分TをAF調整値に換算して記憶することとするが、差分Tをキャリブレーションのための調整情報として記憶してもよい。以上が、第一の調整モードにおける処理のフローである。 In step S910, it converts the difference T i which is stored in association with the image selected at step S909 to the AF adjustment value in the manner described above. Although this embodiment and storing by converting the difference T i of the defocus amount to the AF adjustment value may be stored difference T i as the adjustment information for calibration. The above is the process flow in the first adjustment mode.

次に、図10を用いて第二の調整モードで実行される処理について説明する。図10は、第二の調整モードの処理を示すフローチャートである。   Next, processing executed in the second adjustment mode will be described with reference to FIG. FIG. 10 is a flowchart showing processing in the second adjustment mode.

まずステップS1001では、システム制御部210は、第一焦点検出手段2002による焦点検出結果に基づいて、合焦位置までフォーカスレンズを駆動するよう制御する。ここでは、水平方向のラインセンサーを用いて焦点検出を行うこととなる。なお、ステップS810に進んで本フローを実行する場合は、すでに合焦状態へフォーカスレンズを駆動しているため、ステップS1001の処理を省略してよい。   First, in step S1001, the system control unit 210 controls to drive the focus lens to the in-focus position based on the focus detection result by the first focus detection unit 2002. Here, focus detection is performed using a horizontal line sensor. When the process proceeds to step S810 and this flow is executed, the process of step S1001 may be omitted because the focus lens has already been driven to the focused state.

ステップS1002では、第一焦点検出手段2002によりデフォーカス量Dを検出する。ここで複数回デフォーカス量を検出して、その平均値をデフォーカス量Dとしてもよい。理想的にはデフォーカス量Dは0になるが、被写体の変化やフォーカスレンズの停止位置のずれ等により、デフォーカス量Dが必ずしも0にならない可能性がある。 In step S1002, it detects the defocus amount D 0 by the first focus detection unit 2002. Where it detects a plurality of times defocus amount may be the average value as the defocus amount D 0. It becomes the defocus amount D 0 0 ideally, but by displacement of the stop position of the change and the focus lens of the subject, there is a possibility that the defocus amount D 0 does not always become zero.

ステップS1003では、第二焦点検出手段2003によりデフォーカス量Eを検出する。ここで複数回デフォーカス量を検出して、その平均値をデフォーカス量Eとしてもよい。 In step S1003, it detects the defocus amount E 0 by the second focus detection unit 2003. Where it detects a plurality of times defocus amount may be the average value as the defocus amount E 0.

ステップS1004では、第一焦点検出手段2002と第二焦点検出手段2003のデフォーカス量の検出方向(測距ラインの検出方向)が同じか否かを判定する。検出方向が同じ場合はステップS1005へ、異なる場合はステップS1007へ進む。なお、本実施例においては、第二焦点検出手段2003は横目のみなので、ステップS1004の分岐は必ずYesに進む。   In step S1004, it is determined whether or not the first focus detection unit 2002 and the second focus detection unit 2003 have the same defocus amount detection direction (detection range detection line). If the detection directions are the same, the process proceeds to step S1005, and if different, the process proceeds to step S1007. In the present embodiment, since the second focus detection unit 2003 is only the horizontal eye, the branch of step S1004 always proceeds to Yes.

ステップS1005では、システム制御部210は、ステップS1002とS1003で検出されたデフォーカス量DとEから、デフォーカス量の差分Tを算出する。ステップS1006では、システム制御部210は、ステップS1005で算出されたデフォーカス量の差分Tの絶対値が閾値Thより小さいか否かを判定する。デフォーカス量の差分Tの絶対値が閾値Thより小さい場合はステップS1007へ進み、閾値Th以上の場合はステップS1008へ進む。 In step S1005, the system control unit 210, from the defocus amount D 0 and E 0, which is detected in step S1002 and S1003, and calculates the difference between T 0 of the defocus amount. In step S1006, the system control unit 210, the absolute value of the difference T 0 of the defocus amount calculated in step S1005 it is determined whether the threshold value Th smaller than. If the absolute value of the defocus amount difference T 0 is smaller than the threshold value Th, the process proceeds to step S1007. If the absolute value is greater than the threshold value Th, the process proceeds to step S1008.

ステップS1007では、ステップS1005で算出されたデフォーカス量の差分Tを上述した方法でAF調整値に換算する。なお、本実施例ではデフォーカス量の差分TをAF調整値に換算して記憶することとするが、差分Tをキャリブレーションのための調整情報として記憶してもよい。 In step S1007, converting the difference T 0 of the defocus amount calculated in step S1005 to the AF adjustment value in the manner described above. In the present embodiment, the defocus amount difference T 0 is converted into an AF adjustment value and stored. However, the difference T 0 may be stored as adjustment information for calibration.

一方、ステップS1008に進んだ場合、AF調整値を検出不能とする。ここで、ステップS1006の分岐でNoに進んだ場合、すなわちデフォーカス量DとEの差分が大きい場合は、第二焦点検出手段2003の検出誤差が大きいことが推測される。そのため、デフォーカス量Eを用いてAF調整値を算出すると、誤差を含んだAF調整値となるおそれがある。そのため、本実施例では、デフォーカス量DとEの差分が大きい場合は、AF調整値を検出不能とする。以上が、第二の調整モードにおける処理のフローである。 On the other hand, if the process proceeds to step S1008, the AF adjustment value is not detectable. Here, if the process proceeds to No in branch of step S1006, that is, when the difference between the defocus amount D 0 and E 0 is large, it is estimated detection error of the second focus detection unit 2003 is larger. Therefore, if the AF adjustment value is calculated using the defocus amount E 0 , there is a possibility that the AF adjustment value includes an error. Therefore, in this embodiment, when the difference between the defocus amount D 0 and E 0 is large, and undetectable AF adjustment value. The above is the process flow in the second adjustment mode.

以上説明したように、実施例1では、使用者の判断に基づいてAF調整値を取得する第一の調整モードと、異なる焦点検出手段による検出結果の差分を用いてAF調整値を取得する第二の調整モードを備える。そして、撮影条件に応じて適切な調整モードを選択する。より具体的には、第一焦点検出手段によるデフォーカス量の検出方向に応じて、第一の調整モードと第二の調整モードを切り替える。これにより、精度の高いAF調整値を算出可能な第二の調整モードを活用しつつ、第二の調整モードが使用できない場面では第一の調整モードによりAF調整値を算出することができる。   As described above, in the first embodiment, the first adjustment mode for acquiring the AF adjustment value based on the user's judgment and the first adjustment mode for acquiring the AF adjustment value using the difference between the detection results by the different focus detection means. Two adjustment modes are provided. Then, an appropriate adjustment mode is selected according to the shooting conditions. More specifically, the first adjustment mode and the second adjustment mode are switched according to the detection direction of the defocus amount by the first focus detection unit. Accordingly, the AF adjustment value can be calculated by the first adjustment mode in a scene where the second adjustment mode cannot be used while utilizing the second adjustment mode capable of calculating the AF adjustment value with high accuracy.

<実施例2>
次に、実施例2に係るAF調整値の取得処理について説明する。第二の調整モードでAF調整値の検出が不能と判定された場合に、実施例1ではAF調整値が記憶されずに処理を終了したが、実施例2では第一の調整モードでAF調整値を検出する。カメラの構成など実施例1と共通する部分については説明を省略する。
<Example 2>
Next, an AF adjustment value acquisition process according to the second embodiment will be described. When it is determined that the AF adjustment value cannot be detected in the second adjustment mode, the process is terminated without storing the AF adjustment value in the first embodiment, but the AF adjustment is performed in the first adjustment mode in the second embodiment. Detect value. Descriptions of parts common to the first embodiment such as the configuration of the camera are omitted.

図11は、図8に換えて、本実施例で行われるAF調整値の取得処理を示すフローチャートである。図11におけるステップS1101〜S1111の処理は、図8におけるステップS801〜S811の処理と同様であるので、説明を省略する。   FIG. 11 is a flowchart showing an AF adjustment value acquisition process performed in this embodiment, instead of FIG. The processing in steps S1101 to S1111 in FIG. 11 is the same as the processing in steps S801 to S811 in FIG.

ステップS1103において第二の調整モードが実行されると、ステップS1112へ進み、システム制御部210は、AF調整値の検出が不能であったか否かを判定する(図10のステップS1008参照)。AF調整値の検出が不能でない場合はステップS1111へ進み、算出されたAF調整値が記憶部211に記憶される。一方、AF調整値の検出が不能の場合はステップS1102へ進み、第一の調整モードが実行される。   When the second adjustment mode is executed in step S1103, the process proceeds to step S1112, and the system control unit 210 determines whether or not the AF adjustment value cannot be detected (see step S1008 in FIG. 10). If the detection of the AF adjustment value is not impossible, the process proceeds to step S1111 and the calculated AF adjustment value is stored in the storage unit 211. On the other hand, if the AF adjustment value cannot be detected, the process proceeds to step S1102, and the first adjustment mode is executed.

同様に、ステップS1110で第二の調整モードが実行された場合も、ステップS1113においてAF調整値の検出が不能と判定されたか否かが判定され、その結果に応じて処理を切り替える。   Similarly, when the second adjustment mode is executed in step S1110, it is determined in step S1113 whether it is determined that the AF adjustment value cannot be detected, and the process is switched according to the result.

以上説明したように、本実施例では第二の調整モードでAF調整値の検出が不能の場合でも、第一の調整モードによりAF調整値を検出することが可能である。   As described above, in this embodiment, even when the AF adjustment value cannot be detected in the second adjustment mode, the AF adjustment value can be detected in the first adjustment mode.

<実施例3>
実施例1では、中央の測距点において、かつ縦目と横目いずれかで算出されたAF調整値が記憶される場合について説明した。一方、実施例3では、中央の測距点(クロス目)において、縦目と横目それぞれで算出されたAF調整値が記憶可能である。
<Example 3>
In the first embodiment, the case where the AF adjustment value calculated at the center distance measuring point and with either the vertical eye or the horizontal eye is stored has been described. On the other hand, in the third embodiment, AF adjustment values calculated for the vertical eye and the horizontal eye can be stored at the center distance measuring point (cross eye).

図12は、実施例1と実施例3の記憶手段2007により記憶部211に記憶されるAF調整値の数を比較した表である。実施例1では中央の測距点に対して一つのAF調整値しか記憶されないが、実施例3では中央の測距点に対して測距ラインの方向の数だけAF調整値が記憶される。つまり中央の測距点が縦目と横目のクロス目であればAF調整値を2つ持つことが可能である。AF調整値の算出方法は、実施例1あるいは実施例2で説明した方法を用いるが、縦目と横目でそれぞれAF調整値を算出する必要がある。そのため、ステップS807あるいはS1107では、水平方向と垂直方向いずれのラインセンサーも選択され得る。もし片方のAF調整値が不能の場合、もう片方のAF調整値が代わりに記憶される。   FIG. 12 is a table comparing the number of AF adjustment values stored in the storage unit 211 by the storage unit 2007 according to the first embodiment and the third embodiment. In the first embodiment, only one AF adjustment value is stored for the center distance measuring point, but in the third embodiment, AF adjustment values are stored for the number of the distance measurement line directions with respect to the center distance measuring point. That is, if the center distance measuring point is a cross between the vertical eye and the horizontal eye, it is possible to have two AF adjustment values. As the calculation method of the AF adjustment value, the method described in the first embodiment or the second embodiment is used, but it is necessary to calculate the AF adjustment value for each of the vertical eye and the horizontal eye. Therefore, in step S807 or S1107, both the horizontal and vertical line sensors can be selected. If one AF adjustment value is not possible, the other AF adjustment value is stored instead.

以上説明したように、実施例3では、中央の測距点(クロス目)に対し、横目と縦目でそれぞれAF調整値を持つ。また周辺の測距点についても、測距ラインの検出方向ごとに中央の測距点で算出されたAF調整値と同値を反映させる。   As described above, according to the third embodiment, the lateral focus and the vertical eye respectively have AF adjustment values with respect to the center distance measuring point (cross eye). In addition, the same value as the AF adjustment value calculated at the center distance measuring point is reflected for the surrounding distance measuring points for each detection direction of the distance measuring line.

なお、上記では中央の測距点のみAF調整値を算出する場合について説明したが、周辺の各測距点においてもAF調整値を算出してもよい。また、周辺の測距点もクロス目の場合には、それぞれ縦目と横目のAF調整値を算出して記憶してもよい。   In the above description, the AF adjustment value is calculated only at the center distance measuring point. However, the AF adjustment value may also be calculated at each peripheral distance measuring point. In the case where the surrounding distance measuring points are also crossed, the AF adjustment values of the vertical and horizontal eyes may be calculated and stored.

<実施例4>
次に、実施例4に係るAF調整値の取得処理について説明する。実施例4では、第二焦点検出手段2003において水平方向と垂直方向の両方で焦点検出が可能である。カメラの構成など実施例1と共通する部分については説明を省略する。
<Example 4>
Next, an AF adjustment value acquisition process according to the fourth embodiment will be described. In the fourth embodiment, the second focus detection unit 2003 can detect the focus both in the horizontal direction and in the vertical direction. Descriptions of parts common to the first embodiment such as the configuration of the camera are omitted.

図13は、本実施例の第二焦点検出手段2003の測距ラインを示す図である。実施例1では、図5(A)で説明したように、撮像素子209中の画素が水平方向に二分割されている場合を説明したが、本実施例では画素が垂直方向にも分割されている。そのため、水平方向の測距ライン1301と垂直方向の測距ライン1302の両方向で焦点検出が可能である。この場合、第一焦点検出手段2002のいずれの測距点においても、第二調整手段2006によるAF調整値の算出が可能になる。   FIG. 13 is a diagram illustrating a distance measuring line of the second focus detection unit 2003 of the present embodiment. In the first embodiment, as described with reference to FIG. 5A, the case where the pixels in the image sensor 209 are divided into two in the horizontal direction has been described. However, in this embodiment, the pixels are also divided in the vertical direction. Yes. Therefore, focus detection can be performed in both directions of the distance measuring line 1301 in the horizontal direction and the distance measuring line 1302 in the vertical direction. In this case, the AF adjustment value can be calculated by the second adjustment unit 2006 at any distance measuring point of the first focus detection unit 2002.

図14は、図8に換えて、本実施例で行われるAF調整値の取得処理を示すフローチャートである。まずステップS1401において、第二調整手段2006による第二の調整モードが実行される。本実施例では、第一焦点検出手段2002の測距点がクロス目の場合、ステップS1001で合焦位置へ移動した状態で検出された像信号の信頼性が高いほうの測距ラインを用いて、ステップS1002でデフォーカス量Dを検出する。また、第二焦点検出手段2003においても、水平方向と垂直方向のうち、像信号の信頼性が高いほうの測距ラインを用いて、ステップS1003でデフォーカス量Eを検出する。ここで、ステップS1002とS1003の測距ラインの方向が異なる場合、ステップ1004でNoに進むことになる。 FIG. 14 is a flowchart showing an AF adjustment value acquisition process performed in this embodiment, instead of FIG. First, in step S1401, the second adjustment mode by the second adjustment unit 2006 is executed. In the present embodiment, when the distance measurement point of the first focus detection unit 2002 is a cross, the distance measurement line with higher reliability of the image signal detected in the state of moving to the in-focus position in step S1001 is used. detects a defocus amount D 0 in step S1002. Also in the second focus detection unit 2003, among the horizontal and vertical directions, by using the distance measurement line of more reliable image signal, detects the defocus amount E 0 at step S1003. Here, if the directions of the distance measurement lines in steps S1002 and S1003 are different, the process proceeds to No in step 1004.

ステップS1402では、システム制御部210は、ステップS1401で行われた第二の調整モードにおいてAF調整値の検出が不能であったか否かを判定する。AF調整値の検出が不能の場合はステップS1403に進んで、第一調整手段2005により第一の調整モードを実行する。一方、AF調整値の検出が不能でない場合はステップS1404へ進む。ステップS1404では、記憶手段2007は、ステップS1404あるいはS1403で算出されたAF調整値を記憶部211に記憶する。   In step S1402, the system control unit 210 determines whether or not the AF adjustment value cannot be detected in the second adjustment mode performed in step S1401. If the AF adjustment value cannot be detected, the process proceeds to step S1403, and the first adjustment unit 2005 executes the first adjustment mode. On the other hand, if the AF adjustment value cannot be detected, the process proceeds to step S1404. In step S1404, the storage unit 2007 stores the AF adjustment value calculated in step S1404 or S1403 in the storage unit 211.

以上説明したように、実施例4では、第二焦点検出手段2003においても複数の異なる方向に焦点検出が可能であり、高精度なAF調整値の算出が可能な第二の調整モードをより活用することができる。   As described above, in the fourth embodiment, the second focus detection unit 2003 can also detect the focus in a plurality of different directions, and more effectively use the second adjustment mode capable of calculating the AF adjustment value with high accuracy. can do.

101 撮影レンズ
200 カメラ本体
207 焦点検出ユニット
209 撮像素子
210 システム制御部
211 記憶部
DESCRIPTION OF SYMBOLS 101 Shooting lens 200 Camera main body 207 Focus detection unit 209 Image sensor 210 System control part 211 Memory | storage part

Claims (11)

少なくとも一つの焦点検出領域に対して、焦点検出結果の調整に用いる調整値を取得するための調整モードを有する撮像装置であって、
位相差検出方式の焦点検出に用いる像信号を生成する画素を備え、被写体像を光電変換して画像の撮像を行う撮像処理手段と、
前記撮像処理手段から出力される像信号と異なる像信号に基づいてデフォーカス量を検出する第一の焦点検出手段と、
前記撮像処理手段から出力される像信号に基づいてデフォーカス量を検出する第二の焦点検出手段と、
フォーカスレンズの位置を制御する制御手段と、
前記第一の焦点検出手段による検出結果の調整に用いる前記調整値を算出する算出手段とを有し、
前記調整モードとして、複数の異なる焦点状態の画像の中から使用者により選択された画像の焦点状態に基づいて前記調整値を算出する第一のモードと、前記第二の焦点検出手段による検出結果に基づいて前記調整値を算出する第二のモードを備え、
前記調整値を算出する対象となる前記焦点検出領域において、前記第一の焦点検出手段によるデフォーカス量の検出方向に応じて、前記第一のモードと前記第二のモードを切り替えることを特徴とする撮像装置。
An imaging apparatus having an adjustment mode for acquiring an adjustment value used for adjusting a focus detection result for at least one focus detection region,
An imaging processing unit that includes a pixel that generates an image signal used for focus detection in a phase difference detection method, photoelectrically converts a subject image, and captures an image;
First focus detection means for detecting a defocus amount based on an image signal different from the image signal output from the imaging processing means;
Second focus detection means for detecting a defocus amount based on an image signal output from the imaging processing means;
Control means for controlling the position of the focus lens;
Calculating means for calculating the adjustment value used for adjusting the detection result by the first focus detection means;
As the adjustment mode, a first mode for calculating the adjustment value based on a focus state of an image selected by a user from a plurality of images in different focus states, and a detection result by the second focus detection means A second mode for calculating the adjustment value based on
Switching between the first mode and the second mode according to a detection direction of a defocus amount by the first focus detection unit in the focus detection region which is a target for calculating the adjustment value; An imaging device.
前記調整値を算出する対象となる前記焦点検出領域において、前記第一の焦点検出手段によるデフォーカス量の検出方向が、前記第二の焦点検出手段によるデフォーカス量の検出が可能な方向と対応する場合、前記第二のモードで前記調整値の算出が行われることを特徴とする請求項1に記載の撮像装置。   In the focus detection area that is the target for calculating the adjustment value, the detection direction of the defocus amount by the first focus detection unit corresponds to the direction in which the defocus amount can be detected by the second focus detection unit. The imaging apparatus according to claim 1, wherein the adjustment value is calculated in the second mode. 前記調整値を算出する対象となる前記焦点検出領域において、前記第一の焦点検出手段によるデフォーカス量の検出方向が、前記第二の焦点検出手段によるデフォーカス量の検出が可能な方向と対応しない場合、前記第一のモードで前記調整値の算出が行われることを特徴とする請求項1または2に記載の撮像装置。   In the focus detection area that is the target for calculating the adjustment value, the detection direction of the defocus amount by the first focus detection unit corresponds to the direction in which the defocus amount can be detected by the second focus detection unit. The imaging apparatus according to claim 1, wherein the adjustment value is calculated in the first mode if not. 前記第一の焦点検出手段によるデフォーカス量の検出が可能な方向は、前記第二の焦点検出手段によるデフォーカス量の検出が可能な方向を含むことを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。   4. The direction in which the defocus amount can be detected by the first focus detection unit includes a direction in which the defocus amount can be detected by the second focus detection unit. 5. The imaging apparatus of Claim 1. 前記第一の焦点検出手段は、少なくとも一つの前記焦点検出領域に対して複数の異なる方向にデフォーカス量を検出可能であって、当該複数の異なる方向のうち、像信号のコントラストを示す指標がより高い方向のデフォーカス量が前記調整値の算出に用いられることを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   The first focus detection means can detect defocus amounts in a plurality of different directions with respect to at least one of the focus detection areas, and an index indicating the contrast of the image signal is included in the plurality of different directions. The imaging apparatus according to claim 1, wherein a defocus amount in a higher direction is used for calculating the adjustment value. 前記第二のモードにおいて、前記調整値の算出が不能であることが判定された場合、前記第一のモードで前記調整値の算出が行われることを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。   6. The adjustment value is calculated in the first mode when it is determined in the second mode that the adjustment value cannot be calculated. 6. The imaging apparatus according to item 1. 前記第一のモードにおいて、
前記制御手段は、異なる複数のレンズ位置に前記フォーカスレンズを移動するように制御し、
前記複数のレンズ位置の各レンズ位置において、前記撮像処理手段による画像の撮像と前記第一の焦点検出手段によるデフォーカス量の検出を行い、
前記算出手段は、複数の前記画像の中から使用者により選択された画像に対応する前記デフォーカス量に基づいて前記調整値を算出することを特徴とする請求項1乃至6のいずれか1項に記載の撮像装置。
In the first mode,
The control means controls to move the focus lens to a plurality of different lens positions;
At each lens position of the plurality of lens positions, image capturing by the imaging processing unit and defocus amount detection by the first focus detection unit are performed,
The said calculation means calculates the said adjustment value based on the said defocus amount corresponding to the image selected by the user from the said some image, The any one of Claim 1 thru | or 6 characterized by the above-mentioned. The imaging device described in 1.
前記第二のモードにおいて、
前記算出手段は、前記第一の焦点検出手段により検出された第一のデフォーカス量と前記第二の焦点検出手段により検出された第二のデフォーカス量の差分に基づいて前記調整値を算出することを特徴とする請求項1乃至7のいずれか1項に記載の撮像装置。
In the second mode,
The calculation means calculates the adjustment value based on a difference between a first defocus amount detected by the first focus detection means and a second defocus amount detected by the second focus detection means. The image pickup apparatus according to claim 1, wherein the image pickup apparatus is an image pickup apparatus.
前記第二のモードにおいて、前記算出手段は、前記第一の焦点検出手段の検出結果に基づく合焦位置に前記フォーカスレンズが移動された状態で検出された前記第一のデフォーカス量と前記第二のデフォーカス量の差分に基づいて前記調整値を算出することを特徴とする請求項8に記載の撮像装置。   In the second mode, the calculation means includes the first defocus amount detected in a state where the focus lens is moved to a focus position based on a detection result of the first focus detection means, and the first defocus amount. The imaging apparatus according to claim 8, wherein the adjustment value is calculated based on a difference between two defocus amounts. 前記第二のモードにおいて、前記第一のデフォーカス量と前記第二のデフォーカス量の差分が所定の閾値より大きい場合、前記第一のモードに切り替えて前記調整値の算出が行われることを特徴とする請求項1乃至9のいずれか1項に記載の撮像装置。   In the second mode, when the difference between the first defocus amount and the second defocus amount is greater than a predetermined threshold, the adjustment value is calculated by switching to the first mode. The imaging apparatus according to any one of claims 1 to 9, wherein the imaging apparatus is characterized. 少なくとも一つの焦点検出領域に対して、焦点検出結果の調整に用いる調整値を取得するための調整モードを有し、位相差検出方式の焦点検出に用いる像信号を生成する画素を備え、被写体像を光電変換して画像の撮像を行う撮像処理手段を有する撮像装置の制御方法であって、
前記撮像処理手段から出力される像信号と異なる像信号に基づいてデフォーカス量を検出する第一の焦点検出ステップと、
前記撮像処理手段から出力される像信号に基づいてデフォーカス量を検出する第二の焦点検出ステップと、
フォーカスレンズの位置を制御する制御ステップと、
前記第一の焦点検出ステップによる検出結果の調整に用いる前記調整値を算出する算出ステップとを有し、
前記調整モードとして、複数の異なる焦点状態の画像の中から使用者により選択された画像の焦点状態に基づいて前記調整値を算出する第一のモードと、前記第二の焦点検出手段による検出結果に基づいて前記調整値を算出する第二のモードを備え、
前記調整値を算出する対象となる前記焦点検出領域において、前記第一の焦点検出手段によるデフォーカス量の検出方向に応じて、前記第一のモードと前記第二のモードを切り替えることを特徴とする撮像装置の制御方法。
An object having an adjustment mode for acquiring an adjustment value used for adjusting a focus detection result for at least one focus detection area, and a pixel for generating an image signal used for focus detection by a phase difference detection method; A method for controlling an image pickup apparatus having an image pickup processing means for photoelectrically converting an image to pick up an image,
A first focus detection step of detecting a defocus amount based on an image signal different from the image signal output from the imaging processing means;
A second focus detection step of detecting a defocus amount based on an image signal output from the imaging processing means;
A control step for controlling the position of the focus lens;
A calculation step for calculating the adjustment value used for adjustment of the detection result in the first focus detection step;
As the adjustment mode, a first mode for calculating the adjustment value based on a focus state of an image selected by a user from a plurality of images in different focus states, and a detection result by the second focus detection means A second mode for calculating the adjustment value based on
Switching between the first mode and the second mode according to a detection direction of a defocus amount by the first focus detection unit in the focus detection region which is a target for calculating the adjustment value; Control method for imaging apparatus.
JP2014252386A 2014-12-12 2014-12-12 Imaging apparatus and method of controlling the same Pending JP2016114721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014252386A JP2016114721A (en) 2014-12-12 2014-12-12 Imaging apparatus and method of controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014252386A JP2016114721A (en) 2014-12-12 2014-12-12 Imaging apparatus and method of controlling the same

Publications (2)

Publication Number Publication Date
JP2016114721A true JP2016114721A (en) 2016-06-23
JP2016114721A5 JP2016114721A5 (en) 2018-02-01

Family

ID=56141783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014252386A Pending JP2016114721A (en) 2014-12-12 2014-12-12 Imaging apparatus and method of controlling the same

Country Status (1)

Country Link
JP (1) JP2016114721A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019184887A (en) * 2018-04-13 2019-10-24 キヤノン株式会社 Control device, imaging apparatus, control method, program, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005351925A (en) * 2004-06-08 2005-12-22 Fuji Photo Film Co Ltd Image pickup apparatus and focusing control method
JP2010107771A (en) * 2008-10-30 2010-05-13 Canon Inc Camera and camera system
JP2011175172A (en) * 2010-02-25 2011-09-08 Nikon Corp Digital camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005351925A (en) * 2004-06-08 2005-12-22 Fuji Photo Film Co Ltd Image pickup apparatus and focusing control method
JP2010107771A (en) * 2008-10-30 2010-05-13 Canon Inc Camera and camera system
JP2011175172A (en) * 2010-02-25 2011-09-08 Nikon Corp Digital camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019184887A (en) * 2018-04-13 2019-10-24 キヤノン株式会社 Control device, imaging apparatus, control method, program, and storage medium

Similar Documents

Publication Publication Date Title
JP5388544B2 (en) Imaging apparatus and focus control method thereof
JP4998308B2 (en) Focus adjustment device and imaging device
JP5896763B2 (en) Optical instrument and method for autofocusing
JP2017211487A (en) Imaging apparatus and automatic focus adjustment method
JP4963569B2 (en) Imaging system and lens unit
JP2008170645A (en) Focus controller and imaging apparatus
JP5402298B2 (en) Focus detection device and camera
JP5963552B2 (en) Imaging device
JP2017126035A (en) Imaging apparatus, control method, program, and storage medium
JP2016142924A (en) Imaging apparatus, control method therefor, program, and storage medium
JP4888249B2 (en) Focus detection apparatus and imaging apparatus
JP2013113857A (en) Imaging device, and control method therefor
JP5966299B2 (en) FOCUS DETECTION DEVICE AND IMAGING DEVICE HAVING THE SAME
JP5217942B2 (en) Focus adjustment device and imaging device
JP2016114721A (en) Imaging apparatus and method of controlling the same
JP2011013499A (en) Imaging apparatus
JP5590850B2 (en) Imaging device and focus control method of imaging device
JP2018180135A (en) Imaging device
JP6530610B2 (en) Focusing device, imaging device, control method of focusing device, and program
JP2017032874A (en) Focus detection device and method, and imaging apparatus
JP2016071275A (en) Imaging apparatus and focus control program
JP2016099432A (en) Focus detection apparatus and method, program, and storage medium
JP5391587B2 (en) Imaging device
JP6391448B2 (en) Imaging apparatus and control method thereof
JP2010113130A (en) Focus detecting device, imaging apparatus, focus detecting method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171211

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180807

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190312