JP7237473B2 - Focus adjustment device and its control method - Google Patents

Focus adjustment device and its control method Download PDF

Info

Publication number
JP7237473B2
JP7237473B2 JP2018114901A JP2018114901A JP7237473B2 JP 7237473 B2 JP7237473 B2 JP 7237473B2 JP 2018114901 A JP2018114901 A JP 2018114901A JP 2018114901 A JP2018114901 A JP 2018114901A JP 7237473 B2 JP7237473 B2 JP 7237473B2
Authority
JP
Japan
Prior art keywords
evaluation value
focus
aperture
detection information
reliability
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
JP2018114901A
Other languages
Japanese (ja)
Other versions
JP2019219448A (en
Inventor
直樹 岩▲崎▼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2018114901A priority Critical patent/JP7237473B2/en
Publication of JP2019219448A publication Critical patent/JP2019219448A/en
Application granted granted Critical
Publication of JP7237473B2 publication Critical patent/JP7237473B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、撮像素子からの出力信号を用いた位相差検出方式による焦点調節を行う焦点調節装置、その制御方法に関する。 The present invention relates to a focus adjustment device that performs focus adjustment by a phase difference detection method using an output signal from an image sensor, and a control method thereof.

従来から、電子スチルカメラなどの撮像装置において、撮像素子からの出力信号を用いて位相差検出方式による焦点検出を行う撮像面位相差検出方式を採用するものがある。この撮像面位相差検出方式では、低コントラスト被写体を撮影する場合、得られる像信号が小さくなり、フォーカシングの追従精度が劣化してしまうという課題があった。 2. Description of the Related Art Conventionally, some image pickup apparatuses such as electronic still cameras employ an imaging plane phase difference detection method that performs focus detection by a phase difference detection method using an output signal from an image sensor. This imaging plane phase difference detection method has a problem that when a low-contrast subject is photographed, the obtained image signal becomes small, and the follow-up accuracy of focusing deteriorates.

そこで、特許文献1で開示された技術では、出力信号のコントラスト情報に基づく評価値を算出し、過去に算出されたデフォーカス量を加味するか否かを判定して、最終的なデフォーカス量を算出している。 Therefore, in the technique disclosed in Patent Document 1, an evaluation value based on the contrast information of the output signal is calculated, and it is determined whether or not the defocus amount calculated in the past is taken into consideration, and the final defocus amount is determined. is calculated.

特開2016-57546号公報JP 2016-57546 A

しかしながら、特許文献1では、コントラスト情報に基づく評価値を参照するので、撮像装置の設定(絞り値等)や被写体の輝度等によって評価値が変化し、過去に算出されたデフォーカス量を加味した方がよいか否かの判定の精度が劣化してしまう場合がある。例えば、人物の顔のような低コントラスト被写体を小絞り設定で撮影する場合、高輝度時や高コントラスト被写体の撮影時と比較して、得られる像信号が小さくなり、フォーカシングの追従精度が劣化してしまう場合があった。 However, in Patent Document 1, since the evaluation value based on the contrast information is referred to, the evaluation value changes depending on the setting of the imaging device (aperture value, etc.), the brightness of the subject, etc., and the defocus amount calculated in the past is taken into consideration. In some cases, the accuracy of determination as to whether or not it is better may be degraded. For example, when shooting a low-contrast subject such as a person's face with a small aperture setting, the resulting image signal will be smaller than when shooting a high-brightness or high-contrast subject, and the tracking accuracy of focusing will deteriorate. There was a case where it was lost.

そこで、本発明の目的は、撮像装置の設定(絞り値等)や被写体の輝度等によりAFの合焦精度が低下してしまうことを防ぐことを目的とする。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to prevent the AF focusing accuracy from deteriorating due to the setting (aperture value, etc.) of an imaging device, the brightness of an object, or the like.

本発明の技術的特徴として、被写体像を撮像する撮像素子からの出力信号を用いた焦点調節を行う焦点調節装置の制御方法であって、前記撮像素子の出力信号から生成されて被写体像の焦点状態に応じた位相差を有する一対の像信号に帯域の異なる複数のフィルタによる処理を行うことで複数の焦点検出情報を生成する生成工程と、前記生成工程で生成された前記焦点検出情報の信頼性に関する評価値を算出する算出工程と、動画撮影するモードであり、かつ、被写体のコントラストが所定の条件を満たす場合に、絞りの設定に基づいて、前記焦点検出情報の信頼性に関する評価値を変更し、動画撮影するモードであり、かつ、被写体のコントラストが所定の条件を満たす場合でない場合に、前記評価値を変更しない設定工程とを有し、前記設定工程では、絞りの設定に基づいて、前記焦点検出情報の信頼性に関する評価値を変更する際、第1の絞り値のときの評価値を前記第1の絞り値よりも小さい第2の絞り値のときの評価値よりも大きくすることを特徴とする。 As a technical feature of the present invention, there is provided a control method for a focus adjustment device that performs focus adjustment using an output signal from an image pickup device that picks up an image of a subject, wherein the focal point of the subject image is generated from the output signal of the image pickup device. A generation step of generating a plurality of pieces of focus detection information by processing a pair of image signals having a phase difference according to a state with a plurality of filters having different bands, and reliability of the focus detection information generated in the generation step. and calculating an evaluation value regarding the reliability of the focus detection information based on the setting of the aperture in a moving image shooting mode and when the contrast of the subject satisfies a predetermined condition. and a setting step of not changing the evaluation value when the mode is a mode for moving image shooting and the contrast of the subject does not satisfy a predetermined condition, wherein the setting step is based on the setting of the aperture . and, when changing the evaluation value relating to the reliability of the focus detection information, the evaluation value at the first aperture value is made larger than the evaluation value at the second aperture value smaller than the first aperture value. It is characterized by

本発明によれば、AFの合焦精度の低下を防ぐことができる。 According to the present invention, it is possible to prevent deterioration of AF focusing accuracy.

カメラ及びレンズの構成を示すブロック図である。2 is a block diagram showing configurations of a camera and a lens; FIG. 撮像面位相差方式の画素構成を示す図である。It is a figure which shows the pixel structure of an imaging surface phase difference method. 2像の相関変化量に関する評価値の説明図である。FIG. 10 is an explanatory diagram of evaluation values relating to the amount of correlation change between two images; デフォーカス量の標準偏差に関する閾値の算出を説明するフローチャートである。7 is a flowchart for explaining calculation of a threshold for standard deviation of defocus amounts; 撮影処理例を説明するフローチャートである。6 is a flowchart for explaining an example of imaging processing; 自動焦点検出処理例を説明するフローチャートである。6 is a flowchart for explaining an example of automatic focus detection processing; デフォーカス量の選択方法を説明するフローチャートである。4 is a flowchart for explaining a method of selecting a defocus amount; 絞り(以後F値)に対するデフォーカス量の標準偏差の閾値を示す図である。FIG. 5 is a diagram showing a threshold value of standard deviation of defocus amount with respect to aperture (hereinafter referred to as F value); 図8における大Defから中Defへの引き継ぎ判定を説明するフローチャートである。FIG. 9 is a flowchart for explaining a handover determination from large Def to medium Def in FIG. 8 ; FIG. 図8における中Defから小Defへの引き継ぎ判定を説明するフローチャートである。FIG. 9 is a flowchart for explaining a handover determination from medium Def to small Def in FIG. 8 ; FIG.

以下に、本発明の好ましい実施の形態を、添付の図面に基づいて詳細に説明する。 Preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

●撮像装置の構成
図1は、実施形態に係るレンズ交換式カメラ(以下、単にカメラと呼ぶ)の構成を示すブロック図である。実施形態に係るカメラは、本発明を適用した焦点調節装置を搭載した撮像装置の例であり、被写体像を撮像する撮像素子からの出力信号を用いた撮像面位相差検出方式による焦点調節を行う。カメラは、レンズユニット10と、カメラ本体20とにより構成される。レンズユニット10がカメラ本体20に装着されると、レンズユニット10の動作を統括制御するレンズ制御部106と、カメラ全体の動作を統括制御するカメラ制御部212とが相互に通信可能となる。
Configuration of Imaging Apparatus FIG. 1 is a block diagram showing the configuration of an interchangeable lens camera (hereinafter simply referred to as a camera) according to an embodiment. A camera according to an embodiment is an example of an imaging device equipped with a focus adjustment device to which the present invention is applied, and performs focus adjustment by an imaging plane phase difference detection method using an output signal from an imaging device that captures an image of a subject. . The camera is composed of a lens unit 10 and a camera body 20 . When the lens unit 10 is attached to the camera body 20, the lens control unit 106 that controls the operation of the lens unit 10 and the camera control unit 212 that controls the operation of the entire camera can communicate with each other.

レンズユニット10の構成について説明する。レンズユニット10は、固定レンズ101、絞り102、フォーカスレンズ103、絞り駆動部104、フォーカスレンズ駆動部105、レンズ制御部106、レンズ操作部107を備える。固定レンズ101、絞り102、フォーカスレンズ103により撮影光学系が構成される。絞り102は、絞り駆動部104によって駆動され、カメラ本体20の撮像素子201への入射光量を制御する。フォーカスレンズ103は、フォーカスレンズ駆動部105によって駆動され、後述する撮像素子201に結像する焦点調節を行う。絞り駆動部104及びフォーカスレンズ駆動部105は、レンズ制御部106によって制御され、絞り102の開口量やフォーカスレンズ103の位置を決定する。レンズ制御部106は、レンズ操作部107によってユーザ操作があった場合、ユーザ操作に応じた制御を行う。レンズ制御部106は、カメラ制御部212から受信した制御命令・制御情報に応じて絞り駆動部104やフォーカスレンズ駆動部105の制御を行い、また、レンズ制御情報をカメラ制御部212に送信する。 A configuration of the lens unit 10 will be described. The lens unit 10 includes a fixed lens 101 , a diaphragm 102 , a focus lens 103 , a diaphragm drive section 104 , a focus lens drive section 105 , a lens control section 106 and a lens operation section 107 . A fixed lens 101, a diaphragm 102, and a focus lens 103 constitute a photographing optical system. A diaphragm 102 is driven by a diaphragm drive unit 104 to control the amount of light incident on an imaging device 201 of the camera body 20 . A focus lens 103 is driven by a focus lens driving unit 105 and performs focus adjustment for forming an image on an imaging device 201, which will be described later. A diaphragm driver 104 and a focus lens driver 105 are controlled by a lens controller 106 to determine the opening amount of the diaphragm 102 and the position of the focus lens 103 . When a user operation is performed by the lens operation unit 107, the lens control unit 106 performs control according to the user operation. The lens control unit 106 controls the aperture driving unit 104 and the focus lens driving unit 105 according to the control command/control information received from the camera control unit 212 and also transmits lens control information to the camera control unit 212 .

次に、カメラ本体20の構成について説明する。カメラ本体20は、レンズユニット10の撮影光学系を通過した光束から撮像信号を取得できるように構成される。カメラ本体20は、撮像素子201、CDS/AGC/ADコンバータ202、画像入力コントローラ203、AF(自動焦点調節)信号処理部204を備える。また、カメラ本体20は、表示制御部205、表示部206、記録媒体制御部207、記録媒体208、SDRAM209、ROM210、フラッシュROM211を備える。また、カメラ本体20は、AF制御部213を備えたカメラ制御部212、カメラ操作部214、タイミングジェネレータ215、バス21を備える。 Next, the configuration of the camera body 20 will be described. The camera body 20 is configured to acquire an imaging signal from the light flux that has passed through the imaging optical system of the lens unit 10 . The camera body 20 includes an image sensor 201 , a CDS/AGC/AD converter 202 , an image input controller 203 and an AF (automatic focusing) signal processing section 204 . The camera body 20 also includes a display control section 205 , a display section 206 , a recording medium control section 207 , a recording medium 208 , an SDRAM 209 , a ROM 210 and a flash ROM 211 . The camera body 20 also includes a camera control section 212 having an AF control section 213 , a camera operation section 214 , a timing generator 215 and a bus 21 .

撮像素子201は、CCDやCMOSセンサにより構成され、その受光面上にレンズユニット10の撮影光学系を通過した光束が結像し、フォトダイオードによって入射光量に応じた信号電荷に変換する。各フォトダイオードに蓄積された信号電荷は、カメラ制御部212の指令に従って、タイミングジェネレータ215から与えられる駆動パルスに基づいて信号電荷に応じた電圧信号として順次読み出される。撮像素子201は、撮像面位相差検出方式による焦点調節を行うために、図2(b)に示すように、1つの画素に2つのフォトダイオードを保持している。図2(a)は、撮像面位相差検出方式を採用しない場合の画素構成を示し、(b)は撮像面位相差検出方式を採用する場合の画素構成を示す。光束をマイクロレンズで分離し、各画素の2つのフォトダイオードで結像することで、撮像信号及びAF用の像信号(以下、AF用信号と呼ぶ)が取り出せるようになっている。2つのフォトダイオードの信号を加算したもの(A+B像信号)が撮像信号になる。また、個々のフォトダイオードの信号(A像信号、B像信号)がそれぞれAF用信号になり、一対のAF用信号は被写体像の焦点状態に応じた位相差を有する。 The imaging element 201 is composed of a CCD or CMOS sensor, and the light flux passing through the imaging optical system of the lens unit 10 forms an image on its light receiving surface and is converted into signal charges according to the amount of incident light by a photodiode. The signal charge accumulated in each photodiode is sequentially read as a voltage signal corresponding to the signal charge based on the drive pulse given from the timing generator 215 according to the command from the camera control section 212 . The imaging device 201 holds two photodiodes in one pixel, as shown in FIG. FIG. 2A shows a pixel configuration when the imaging plane phase difference detection method is not adopted, and FIG. 2B shows a pixel configuration when the imaging plane phase difference detection method is adopted. A light beam is separated by a microlens and imaged by two photodiodes of each pixel, so that an imaging signal and an image signal for AF (hereinafter referred to as an AF signal) can be extracted. A signal obtained by adding the signals of the two photodiodes (A+B image signal) becomes an imaging signal. Signals (A image signal, B image signal) of individual photodiodes are respectively used as AF signals, and a pair of AF signals has a phase difference according to the focus state of the subject image.

CDS/AGC/ADコンバータ202は、撮像素子201から読み出された撮像信号及び一対のAF用信号に対して、リセットノイズを除去するための相関二重サンプリング、ゲインの調節、信号のデジタル化を行う。CDS/AGC/ADコンバータ202は、撮像信号を画像入力コントローラ203に、一対のAF用信号をAF信号処理部204にそれぞれ出力する。画像入力コントローラ203は、CDS/AGC/ADコンバータ202から出力された撮像信号をSDRAM209に格納する。SDRAM209に格納された画像信号は、バス21を介して、表示制御部205によって表示部206に表示され、また、撮像信号の記録を行うモードのときは、記録媒体制御部207によって記録媒体208に記録される。ROM210は、カメラ制御部212が実行する制御プログラム及び制御に必要な各種データ等を格納する。フラッシュROM211は、ユーザ設定情報等のカメラの動作に関する各種設定情報等を格納する。 The CDS/AGC/AD converter 202 performs correlated double sampling for removing reset noise, gain adjustment, and signal digitization on the imaging signal read from the imaging device 201 and the pair of AF signals. conduct. The CDS/AGC/AD converter 202 outputs the imaging signal to the image input controller 203 and the pair of AF signals to the AF signal processing unit 204, respectively. The image input controller 203 stores the imaging signal output from the CDS/AGC/AD converter 202 in the SDRAM 209 . The image signal stored in the SDRAM 209 is displayed on the display unit 206 by the display control unit 205 via the bus 21, and is displayed on the recording medium 208 by the recording medium control unit 207 in the mode of recording the imaging signal. Recorded. The ROM 210 stores control programs executed by the camera control unit 212 and various data necessary for control. The flash ROM 211 stores various setting information related to camera operations such as user setting information.

AF信号処理部204は、CDS/AGC/ADコンバータ202から出力された一対のAF用信号に対して相関演算を行い、像ずれ量、各種情報(二像一致度、コントラスト情報、飽和情報、キズ情報等)を算出する。AF信号処理部204は、算出した像ずれ量や各種情報をカメラ制御部212に出力する。 The AF signal processing unit 204 performs a correlation operation on the pair of AF signals output from the CDS/AGC/AD converter 202, and calculates the amount of image shift and various information (degree of coincidence between two images, contrast information, saturation information, scratch, etc.). information, etc.). The AF signal processing unit 204 outputs the calculated image shift amount and various information to the camera control unit 212 .

カメラ制御部212は、カメラの各部と情報をやり取りして制御を行う。また、カメラ操作部214からの入力に応じて、電源のON/OFF、設定の変更、記録の開始、AF制御の開始、記録映像の確認等の、ユーザが操作したさまざまなカメラ機能を実行する。また、レンズユニット10のレンズ制御部106と通信し、レンズの制御命令・制御情報を送ったり、レンズユニット10側の情報を取得したりする。また、カメラ制御部212のAF制御部213は、詳細は後述するが、被写体に対しての合焦制御を行う。AF制御部213は、AF信号処理部204から取得した像ずれ量や各種情報に基づいて、これらを算出する設定の変更をAF信号処理部204に通知する。例えば像ずれ量が大きい場合に相関演算を行う領域を広く設定したり、コントラスト情報に応じて複数あるバンドパスフィルタの種類を変更したりする。カメラ操作部214は、シャッターボタン、モード切替スイッチ、電子ダイヤル、電源スイッチ等の操作部を含む。 A camera control unit 212 controls by exchanging information with each unit of the camera. In addition, according to the input from the camera operation unit 214, various camera functions operated by the user such as power ON/OFF, change of settings, start of recording, start of AF control, confirmation of recorded images, etc. are executed. . It also communicates with the lens controller 106 of the lens unit 10 to send lens control commands and control information, and to acquire information on the lens unit 10 side. Further, the AF control unit 213 of the camera control unit 212 performs focusing control on the subject, although the details will be described later. Based on the image shift amount and various information acquired from the AF signal processing unit 204, the AF control unit 213 notifies the AF signal processing unit 204 of changes in settings for calculating these. For example, when the amount of image shift is large, the area for correlation calculation is set wide, or the types of a plurality of bandpass filters are changed according to the contrast information. A camera operation unit 214 includes operation units such as a shutter button, a mode switch, an electronic dial, and a power switch.

なお、本実施形態では、撮像素子201から撮像信号及び一対のAF用信号を取り出すようにしたが、この方式に限定されるものではない。撮像素子201の負荷を考慮し、例えば撮像素子から撮像信号及び1つのAF用信号を取り出し、撮像信号とAF用信号との差分を取ることにより、もう1つのAF用信号を生成するようにしてもよい。 In this embodiment, the imaging signal and the pair of AF signals are extracted from the imaging device 201, but the present invention is not limited to this method. Considering the load of the imaging device 201, for example, an imaging signal and one AF signal are extracted from the imaging device, and another AF signal is generated by taking the difference between the imaging signal and the AF signal. good too.

●撮影処理
次に、図5のフローチャートを参照して、本実施形態の撮影処理を説明する。
●Photographing Processing Next, the photographing processing of the present embodiment will be described with reference to the flowchart of FIG.

まず、S501で、撮影のための第1スイッチ(SW1)がオン状態であるか否かを判定する。SW1がオン状態の場合、S502へ処理を進め、SW1がオフ状態の場合には、待ち状態でS501の判定処理が繰り返される。S502では、自動焦点検出処理を行う。 First, in S501, it is determined whether or not the first switch (SW1) for photographing is on. If SW1 is on, the process proceeds to S502, and if SW1 is off, the determination process of S501 is repeated in a waiting state. In S502, automatic focus detection processing is performed.

自動焦点検出処理の詳細については後述する。S503では、焦点検出情報を取得し、S502で算出された焦点検出結果が合焦範囲に入っているか否かを判定する。焦点検出結果が合焦範囲に入っている場合、S505へ移行するが、焦点検出結果が合焦範囲外である場合にはS504に処理を進める。S504では、フォーカスレンズの駆動命令を送信する。これにより、S502で算出した焦点検出結果に基づいてフォーカスレンズの駆動制御を行う。S505では、撮影のための第2スイッチ(SW2)がオン状態であるか否かを判定する。SW2がオン状態の場合、S506へ移行し、SW2がオフ状態の場合にはS507へ処理を進める。S506では、撮影準備処理を行い、次のS508で撮像した画像データの記録処理を行ってから撮影処理を終了する。また、S507では、SW1がオン状態であるか否かを判定する。SW1がオン状態の場合、S505に処理を戻し、SW1がオフ状態の場合には処理を終了する。 Details of the automatic focus detection process will be described later. In S503, focus detection information is acquired, and it is determined whether or not the focus detection result calculated in S502 is within the in-focus range. If the focus detection result is within the in-focus range, the process proceeds to S505, but if the focus detection result is out of the in-focus range, the process proceeds to S504. In S504, a focus lens drive command is transmitted. Accordingly, drive control of the focus lens is performed based on the focus detection result calculated in S502. In S505, it is determined whether or not the second switch (SW2) for photographing is on. If SW2 is on, the process proceeds to S506, and if SW2 is off, the process proceeds to S507. In S506, shooting preparation processing is performed, and in the next step S508, shooting processing is completed after performing recording processing of the captured image data. Also, in S507, it is determined whether or not SW1 is in the ON state. If SW1 is on, the process returns to S505, and if SW1 is off, the process ends.

●自動焦点検出処理
次に、図6に示すフローチャートを用いて図5のS502でAF制御部213およびAF信号処理部204が行う自動焦点検出処理について説明する。
●Automatic Focus Detection Processing Next, the automatic focus detection processing performed by the AF control unit 213 and the AF signal processing unit 204 in S502 of FIG. 5 will be described with reference to the flowchart shown in FIG.

S601において、AF制御部213は、AF信号処理部204に撮像素子201から取得した対の位相差像信号に対する相関演算を行わせる。そして、AF信号処理部204から受け取った相関量が極小値となるシフト量Shiftである像ずれ量に基づいてデフォーカス量を算出する。このとき、低域用・中域用・高域用と周波数帯域の異なる3種類のフィルタを用いた相関演算を行い、低域用・中域用・高域用の3種類のデフォーカス量を算出する。なお、ここでは3種類としたが複数であればよい。また、AF制御部213は、AF信号処理部204に対の位相差像信号の相関量をシフト量Shiftごとに算出させる。AF制御部213は、AF信号処理部204から受け取ったシフト量Shiftごとの相関量の波形を生成する。 In S<b>601 , the AF control unit 213 causes the AF signal processing unit 204 to perform correlation calculation on the pair of phase difference image signals acquired from the image sensor 201 . Then, the defocus amount is calculated based on the image shift amount, which is the shift amount Shift at which the correlation amount received from the AF signal processing unit 204 is the minimum value. At this time, correlation calculation is performed using three types of filters with different frequency bands for low, middle, and high frequencies, and three types of defocus amounts for low, middle, and high frequencies are calculated. calculate. Although three types are used here, a plurality of types may be used. Further, the AF control unit 213 causes the AF signal processing unit 204 to calculate the correlation amount of the pair of phase difference image signals for each shift amount Shift. The AF control unit 213 generates a correlation amount waveform for each shift amount Shift received from the AF signal processing unit 204 .

次にS602では、2像の相関変化量を算出する。図3は、撮像面位相差AFにおいて、暈けの度合が大きい状態から合焦点付近までフォーカスレンズを駆動する際の、相関変化量を例示したグラフである。横軸は被写体の暈けの度合を表し、縦軸は相関変化量MAXDERを表す。相関変化量MAXDERは、下式(1)で算出することができる。
MAXDER(k)=(COR[k‐3]‐COR[k‐1])
-(COR[k‐2]‐COR[k]) (1)
Next, in S602, the amount of correlation change between the two images is calculated. FIG. 3 is a graph exemplifying the amount of correlation change when the focus lens is driven from a state where the degree of blur is large to near the focal point in imaging plane phase difference AF. The horizontal axis represents the degree of blurring of the subject, and the vertical axis represents the correlation change amount MAXDER. The correlation change amount MAXDER can be calculated by the following formula (1).
MAXDER(k)=(COR[k-3]-COR[k-1])
-(COR[k-2]-COR[k]) (1)

上式中のkは位置を特定するための整数の変数であり、COR[k]は位置kでの2像の相関量である。このとき、S601と同様に、フィルタの周波数帯域が異なる低域用・中域用・高域用の3種類の相関変化量MAXDERを算出する。図9に示すように、撮像面位相差AFでは暈けの度合が大きい状態から合焦点での状態に近づくにつれて、相関変化量の値が大きくなることが分かる。 k in the above equation is an integer variable for specifying the position, and COR[k] is the amount of correlation between two images at position k. At this time, as in S601, three types of correlation change amounts MAXDER for low, middle, and high frequencies with different filter frequency bands are calculated. As shown in FIG. 9, in the imaging plane phase difference AF, the value of the correlation change amount increases as the degree of blur approaches the in-focus state from the state in which the degree of blur is large.

S603では、相関変化量MAXDERを基にデフォーカス量の標準偏差Defocus3σを算出する。デフォーカス量の標準偏差Defocus3σは、下式(2)で算出することができる。
Defocus3σ= K ×(A×MAXDER^B) (2)
In S603, the standard deviation Defocus3σ of the defocus amount is calculated based on the correlation change amount MAXDER. The standard deviation Defocus3σ of the defocus amount can be calculated by the following formula (2).
Defocus3σ=K×(A×MAXDER^B) (2)

上式中のKは像ずれ量をデフォーカス量に変換する変換係数であり、AとBは相関変化量MAXDERから像ずれ量の標準偏差に変換する変換式の係数である。このとき、S603で算出された、周波数帯域の異なる低域用・中域用・高域用の3種類の相関変化量MAXDERを代入することで、3種類のデフォーカス量の標準偏差Defocus3σを算出する。 K in the above formula is a conversion coefficient for converting the amount of image shift into a defocus amount, and A and B are coefficients of a conversion formula for converting the amount of correlation change MAXDER into the standard deviation of the amount of image shift. At this time, the standard deviation Defocus3σ of the three types of defocus amounts is calculated by substituting the three types of correlation change amounts MAXDER for low, middle, and high frequencies for different frequency bands calculated in S603. do.

S604では、デフォーカス量の信頼性を表す信頼性評価値Relを算出するために、算出されたデフォーカス量の標準偏差Defocus3σの閾値を算出する。信頼性評価値Relは、信頼性の高い順に信頼性評価値Rel3、信頼性評価値Rel2、信頼性評価値Rel1、信頼性評価値Rel0の4段階で決定される。ここで、信頼性評価値Relが信頼性評価値Rel3のときは、デフォーカス量の信頼性が高いため、合焦可能な条件とする。また、信頼性評価値Relが信頼性評価値Rel2のときは、過去mフレーム分のデフォーカス量と現在のフレームで算出したデフォーカス量を加算平均し、結果が所定値以下となる場合に合焦可能な条件とする。さらに、信頼性評価値Rel1は算出されたデフォーカス量の方向は合っていることを意味し、また信頼性評価値Rel0はデフォーカス量としての信頼性が最も低いことを意味し、それぞれ合焦できない条件とする。算出されたデフォーカス量の標準偏差Defocus3σが標準偏差閾値Def3σTH1より大きい場合にはRel0を選択する。また、算出されたデフォーカス量の標準偏差Defocus3σが標準偏差閾値Def3σTH2より大きく標準偏差閾値Def3σTH1以下の場合にはRel1を選択する。そして、算出されたデフォーカス量の標準偏差Defocus3σが標準偏差閾値Def3σTH3より大きく標準偏差閾値Def3σTH2以下の場合にはRel2を選択し、その他の場合はRel3を選択する。さらに、自動焦点調節中に得られたDefocus3σの値がどの信頼性評価値に収まっているかでフォーカスレンズ速度を決定する。ここで各標準偏差閾値におけるフォーカスレンズ駆動量の大小関係(大きいほど高速)は以下のような下式(3)の関係となるよう設定する。ここでは、駆動量を、信頼性評価値Rel3の場合にRel3_SPEED、信頼性評価値Rel2の場合にRel2_SPEED、信頼性評価値Rel1の場合にRel1_SPEED、信頼性評価値Rel0の場合にRel0_SPEEDとする。
Rel3_SPEED<Rel2_SPEED<Rel1_SPEED<Rel0_SPEED (3)
In S604, in order to calculate the reliability evaluation value Rel representing the reliability of the defocus amount, the threshold of the standard deviation Defocus3σ of the calculated defocus amount is calculated. The reliability evaluation value Rel is determined in four levels of reliability evaluation value Rel3, reliability evaluation value Rel2, reliability evaluation value Rel1, and reliability evaluation value Rel0 in descending order of reliability. Here, when the reliability evaluation value Rel is the reliability evaluation value Rel3, since the reliability of the defocus amount is high, it is set as a condition in which focusing is possible. When the reliability evaluation value Rel is the reliability evaluation value Rel2, the defocus amount for the past m frames and the defocus amount calculated for the current frame are added and averaged. Make it possible to burn. Furthermore, the reliability evaluation value Rel1 means that the direction of the calculated defocus amount is correct, and the reliability evaluation value Rel0 means that the reliability of the defocus amount is the lowest. conditions that make it impossible. If the calculated standard deviation Defocus3σ of the defocus amount is greater than the standard deviation threshold value Def3σTH1, Rel0 is selected. Further, when the calculated standard deviation Defocus3σ of the defocus amount is greater than the standard deviation threshold Def3σTH2 and equal to or less than the standard deviation threshold Def3σTH1, Rel1 is selected. If the calculated standard deviation Defocus3σ of the defocus amount is larger than the standard deviation threshold value Def3σTH3 and equal to or smaller than the standard deviation threshold value Def3σTH2, Rel2 is selected, and Rel3 is selected otherwise. Further, the focus lens speed is determined depending on which reliability evaluation value the value of Defocus3σ obtained during automatic focus adjustment falls within. Here, the magnitude relationship of the focus lens driving amount (the larger the value, the higher the speed) for each standard deviation threshold value is set so as to satisfy the following equation (3). Here, the driving amount is Rel3_SPEED for the reliability evaluation value Rel3, Rel2_SPEED for the reliability evaluation value Rel2, Rel1_SPEED for the reliability evaluation value Rel1, and Rel0_SPEED for the reliability evaluation value Rel0.
Rel3_SPEED<Rel2_SPEED<Rel1_SPEED<Rel0_SPEED (3)

ここで、図4に示すフローチャートを用いて、標準偏差Defocus3σの閾値を算出する方法を説明する。 Here, a method for calculating the threshold value of the standard deviation Defocus3σ will be described with reference to the flowchart shown in FIG.

まず、S401で、標準偏差閾値Def3σTH1を算出する。Def3σTH1はあらかじめ決められた値を設定する。S402では、標準偏差閾値Def3σTH2を算出する。Def3σTH2はDef3σTH1よりも小さい値を設定する。 First, in S401, a standard deviation threshold value Def3σTH1 is calculated. Def3σTH1 is set to a predetermined value. In S402, a standard deviation threshold Def3σTH2 is calculated. Def3σTH2 is set to a value smaller than Def3σTH1.

S403では、動画モードで有る事と、被写体のコントラスト値(以後像の鮮鋭度)であるSharpnessを振幅PBで割った鮮鋭度評価値Sharpness/PBが所定閾値以上かどうかを判定する。判定が共に真であればS404へ処理を進め、そうでなければS405へ処理を進める。 In S403, it is determined whether the moving image mode is selected and whether or not the sharpness evaluation value Sharpness/PB obtained by dividing the sharpness, which is the contrast value of the subject (hereinafter, the sharpness of the image) by the amplitude PB, is equal to or greater than a predetermined threshold. If both determinations are true, the process proceeds to S404; otherwise, the process proceeds to S405.

像の鮮鋭度Sharpnessは、下式(4)で算出することができる。
Sharpness=Σ(S[k+ 1]‐S[k])/Σ(S[k+ 1]‐S[k])(4)
The sharpness of the image can be calculated by the following formula (4).
Sharpness=Σ(S[k+1]−S[k]) 2 /Σ(S[k+1]−S[k])(4)

ただし、kは、位置を特定するための整数の変数であり、S[k]は、あるレンズ位置kにおける位相差像信号の信号値である。そして、上式(4)から算出された像の鮮鋭度Sharpnessを用い、鮮鋭度評価値Sharpness/PBを算出する。今回の鮮鋭度評価値における閾値SPB_THは人物の顔や低コンのチャートなどから実測で得られた値から求める事とする。 However, k is an integer variable for specifying the position, and S[k] is the signal value of the phase difference image signal at a certain lens position k. Then, the sharpness evaluation value Sharpness/PB is calculated using the sharpness Sharpness of the image calculated from the above equation (4). The threshold value SPB_TH in the sharpness evaluation value this time is obtained from a value actually measured from a person's face, a low-contrast chart, or the like.

S404では、図8に示すように、絞りの値を基にDef3σTH2を可変にする。図8において縦軸が標準偏差閾値で横軸がF値である。今回の実施例ではF値に応じて線形補間する下式(5)を採用する。
Defocus3σ_TH2= A × X+ B (5)
In S404, as shown in FIG. 8, Def3σTH2 is made variable based on the aperture value. In FIG. 8, the vertical axis is the standard deviation threshold and the horizontal axis is the F value. In this embodiment, the following formula (5) for linear interpolation according to the F value is adopted.
Defocus3σ_TH2=A× XF +B (5)

この補間式は各種チャートより得られた標準偏差Defocus3σの実測値を用いて上記式におけるA(傾き)とB(切片)を求める。 This interpolation formula obtains A (slope) and B (intercept) in the above formula using the actual measured values of the standard deviation Defocus3σ obtained from various charts.

S405では、標準偏差閾値Def3σTH3を算出する。Def3σTH3はDef3σTH2よりも小さい値を設定する。このようにすることにより、静止画撮影の開放側の制御では応答性を落とさずピント追従し、動画撮影時での小絞りにおける低コン被写体の撮影時において信頼性が低くなることを防げる。また、それに伴って合焦位置近傍で被写体をピント追従する(動画撮影時の品位を向上する)ことが可能になる。 In S405, a standard deviation threshold value Def3σTH3 is calculated. Def3σTH3 is set to a value smaller than Def3σTH2. In this manner, the focus can be tracked without degrading the responsiveness in control on the open side of still image shooting, and reliability can be prevented from lowering when shooting a low-contrast subject at a small aperture during moving image shooting. Also, along with this, it becomes possible to follow the focus of the subject in the vicinity of the in-focus position (improve the quality of moving image shooting).

S605では、算出されたデフォーカス量の信頼性を表す信頼性評価値Relを算出する。S604で算出されたDef3σTH1、Def3σTH2、Def3σTH3に基づき、S601で算出した低域用・中域用・高域用の3種類のデフォーカス量に対する信頼性をそれぞれ算出する。 In S605, a reliability evaluation value Rel representing the reliability of the calculated defocus amount is calculated. Based on Def3σTH1, Def3σTH2, and Def3σTH3 calculated in S604, the reliability of each of the three types of defocus amounts for low, middle, and high frequencies calculated in S601 is calculated.

S606では、S601で算出した低域用・中域用・高域用の3種類のデフォーカス量とS605で算出した信頼性を基に1つのデフォーカス量を選択する。ここでは、低域用のフィルタで算出したデフォーカス量を大Def、中域用のフィルタで算出したデフォーカス量を中Def、高域用のフィルタで算出したデフォーカス量を小Defとする。 In S606, one defocus amount is selected based on the three types of defocus amounts for low, middle, and high frequencies calculated in S601 and the reliability calculated in S605. Here, the defocus amount calculated with the low frequency filter is defined as large Def, the defocus amount calculated with the middle frequency filter is defined as medium Def, and the defocus amount calculated with the high frequency filter is defined as small Def.

●デフォーカス量の選択方法
デフォーカス量の選択方法は、図7に示すフローチャートを用いて説明する。
●Defocus amount selection method A defocus amount selection method will be described with reference to the flowchart shown in FIG.

まず、S701では後述する大Defから中Defへの引き継ぎ判定を行ってS702へ進む。 First, in S701, a handover determination from large Def to medium Def, which will be described later, is performed, and the process proceeds to S702.

S702では、S701の判定において大Defから中Defへ引き継げたかどうかを調べ、そうであればS703へ進み、そうでなければS707へ進む。S703では、後述する中Defから小Defへの引き継ぎ判定を行ってS704へ進む。S704では中Defから小Defへ引き継げたかどうかを調べ、そうであればS705へ進み、そうでなければS706へ進む。 In S702, it is checked whether or not the high Def has been handed over to the medium Def in the determination of S701. In S703, a handover determination from medium def to small def, which will be described later, is performed, and the process proceeds to step S704. In S704, it is checked whether or not the medium Def has been handed over to the small Def.

S705では使用するデフォーカス量として小Defを選択して本フローを終了する。S706では使用するデフォーカス量として中Defを選択して本フローを終了する。S707では使用するデフォーカス量として大Defを選択して本フローを終了する。 In S705, small Def is selected as the defocus amount to be used, and this flow ends. In S706, medium Def is selected as the defocus amount to be used, and this flow ends. In S707, large Def is selected as the defocus amount to be used, and this flow ends.

●大Defから中Defへの引き継ぎ判定
次に図7のS701の大Defから中Defへの引き継ぎ判定について図9を用いて説明する。
● Determination of Handover from Large Def to Medium Def Next, determination of handover from large Def to medium Def in S701 of FIG. 7 will be described with reference to FIG.

まず、S901では、中Defの信頼性評価値がRel2以上かどうかを判定する。S901の判定により、中Defに引き継ぐ可能性を高め、合焦率を高めることが可能である。判定が真であれば、S902へ進み、偽でなければS903へ進む。S902では、周期的なパターンをもつ被写体であるか否かを判定する。これは、周期的なパターンを持つ被写体は、デフォーカス量の信頼度が低くなるため、大Defから中Defへ引き継がないようにするためである。周期的なパターンをもつ被写体の相関量を示す波形には、合焦点の候補となる相関量が極小となる部分が周期的に現れるため、判定方法は、例えば合焦点の候補ごとに2像の相関変化量を算出し、算出された2像の相関変化量の差分と閾値を比較することで行う。判定が真であればS903へ進み、偽でなければS905へ進む。 First, in S901, it is determined whether or not the reliability evaluation value of medium Def is Rel2 or higher. By the determination in S901, it is possible to increase the possibility of taking over to medium Def and increase the focusing rate. If the determination is true, the process proceeds to S902, and if not false, the process proceeds to S903. In S902, it is determined whether or not the subject has a periodic pattern. This is to prevent the high Def from being handed over to the medium Def, since the reliability of the defocus amount is low for a subject having a periodic pattern. A waveform indicating the amount of correlation of an object with a periodic pattern periodically has a portion where the amount of correlation, which is a candidate for a focusing point, is minimal. This is performed by calculating the amount of correlation change and comparing the calculated difference in the amount of correlation change between the two images with the threshold. If the determination is true, the process proceeds to S903, and if not false, the process proceeds to S905.

S903では、大Defと中Defのデフォーカス量の差が予め設定した第1の所定深度閾値以下かどうかを調べ、そうであればS904へ進み、そうでなければS906へ進む。ここで、第1の所定深度閾値は、大Defから中Defへとうまく引き継げるように、例えば焦点深度の9倍の量に設定する。また、所定深度閾値を焦点深度基準で設定することで、F値や焦点検出領域が変わっても一律の閾値を設定することができる。 In S903, it is checked whether the difference in defocus amount between the large Def and the medium Def is equal to or less than a preset first predetermined depth threshold. Here, the first predetermined depth threshold is set to, for example, 9 times the depth of focus so that the large Def can be successfully transferred to the medium Def. Further, by setting the predetermined depth threshold based on the focal depth, a uniform threshold can be set even if the F-number or the focus detection area changes.

S904では、中Defの信頼性評価値が大Defの信頼性評価値よりも高く、かつ、中Defの信頼性評価値がRel0より大きいかどうかを調べ、そうであればS905へ進み、そうでなければS906へ進む。 In S904, it is checked whether the reliability evaluation value of medium def is higher than the reliability evaluation value of large def and whether the reliability evaluation value of medium def is greater than Rel0. If not, proceed to S906.

S905では、大Defから中Defへの引き継ぎができると判断して本フローを終了する。S906では、大Defから中Defへの引き継ぎができないと判断して本フローを終了する。これにより、大ボケ状態から小ボケ状態へフォーカスレンズ103を移動させる過程で大Defと中Defのデフォーカス差とそれぞれの信頼性評価値より大Defから中Defへと引き継ぐことができる。 In S905, it is determined that the high Def can be handed over to the medium Def, and this flow ends. In S906, it is determined that the high Def cannot be handed over to the medium Def, and this flow ends. As a result, in the process of moving the focus lens 103 from the large blur state to the small blur state, the defocus difference between the large Def and the medium Def and the respective reliability evaluation values can be handed over from the large Def to the medium Def.

●中Defから小Defへの引き継ぎ判定
次に図7のS703の中Defから小Defへの引き継ぎ判定について図10を用いて説明する。まず、S1001では、中Defと小Defのデフォーカス量の差が予め設定した第2の所定深度閾値以下かどうかを調べ、そうであればS1002へ進み、そうでなければS1004へ進む。ここで、第2の所定深度閾値は、中Defから小Defへとうまく引き継げるように、例えば焦点深度の3倍の量に設定する。また、所定深度閾値を焦点深度基準で設定することで、F値や焦点検出領域が変わっても一律の閾値を設定することができる。また、第2の所定深度閾値は、図9のS901における第1の所定深度閾値よりも小さい値で設定する。これは、小Def→中Def→大Defとなるにつれて、デフォーカス量の検出ばらつきが大きくなるため、小Defと中Defの差分よりも中Defと大Defの差分の方が大きくなるためである。S1002では、小Defの信頼性評価値が中Defの信頼性評価値以上で、かつ中Def及び小Defの信頼性評価値がともにRel0よりも高いかどうかを調べ、そうであればS1003へ進み、そうでなければS1004へ進む。S1003では、中Defから小Defへの引き継ぎができると判断して本フローを終了する。S1004では、中Defから小Defへの引き継ぎができないと判断して本フローを終了する。これにより、小ボケ状態から合焦位置へフォーカスレンズ103を移動させる過程で中Defと小Defのデフォーカス差とそれぞれの信頼性評価値より中Defから小Defへと引き継ぐことができる。
Determination of Handover from Medium Def to Small Def Next, determination of handover from medium Def to small Def in S703 of FIG. 7 will be described with reference to FIG. First, in S1001, it is checked whether or not the difference in defocus amount between the medium Def and the small Def is equal to or less than a preset second predetermined depth threshold. Here, the second predetermined depth threshold is set to, for example, three times the depth of focus so that the medium Def can be successfully transferred to the small Def. Further, by setting the predetermined depth threshold based on the focal depth, a uniform threshold can be set even if the F-number or the focus detection area changes. Also, the second predetermined depth threshold is set to a value smaller than the first predetermined depth threshold in S901 of FIG. This is because the variation in detection of the defocus amount increases in the order of small Def→medium Def→large Def, so the difference between medium Def and large Def is greater than the difference between small Def and medium Def. . In S1002, it is checked whether the reliability evaluation value of the small Def is equal to or higher than the reliability evaluation value of the medium Def, and whether the reliability evaluation values of both the medium Def and the small Def are higher than Rel0, and if so, the process proceeds to S1003. , otherwise, the process proceeds to S1004. In S1003, it is determined that the medium Def can be handed over to the small Def, and this flow ends. In S1004, it is determined that the medium Def cannot be handed over to the small Def, and this flow ends. As a result, in the process of moving the focus lens 103 from the small blurring state to the in-focus position, the defocus difference between the medium Def and the small Def and the respective reliability evaluation values can be handed over from the medium Def to the small Def.

上述の処理と式(5)におけるフォーカス駆動量制御を併せて行うことで、合焦精度の向上とAF時間の短縮が可能になる。また、非合焦となってしまう撮影シーンを減らし、画像がボケたまま合焦してしまう弊害を防ぎつつ、精度良く合焦できる撮影シーンを増やすことが可能となる。 By performing the above-described processing together with the focus drive amount control in Expression (5), it is possible to improve the focusing accuracy and shorten the AF time. In addition, it is possible to increase the number of shooting scenes that can be accurately focused while reducing the number of shooting scenes that are out of focus and preventing the harmful effect of focusing while the image is out of focus.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

10 レンズ
20 カメラ
102 絞り
103 フォーカスレンズ
104 絞り駆動部
105 フォーカスレンズ駆動部
106 レンズ制御部
201 撮像素子
204 AF信号処理部
212 カメラ制御部
213 AF制御部
10 lens 20 camera 102 diaphragm 103 focus lens 104 diaphragm driver 105 focus lens driver 106 lens controller 201 image sensor 204 AF signal processor 212 camera controller 213 AF controller

Claims (5)

被写体像を撮像する撮像素子からの出力信号を用いた焦点調節を行う焦点調節装置であって、
前記撮像素子の出力信号から生成されて被写体像の焦点状態に応じた位相差を有する一対の像信号に帯域の異なる複数のフィルタによる処理を行うことで複数の焦点検出情報を生成する生成手段と、
前記生成手段で生成された前記焦点検出情報の信頼性に関する評価値を算出する算出手段と、
動画撮影するモードであり、かつ、被写体のコントラストが所定の条件を満たす場合に、絞りの設定に基づいて、前記焦点検出情報の信頼性に関する評価値を変更し、動画撮影するモードであり、かつ、被写体のコントラストが所定の条件を満たす場合でない場合に、前記評価値を変更しない設定手段とを有し、
前記設定手段は、絞りの設定に基づいて、前記焦点検出情報の信頼性に関する評価値を変更する際、第1の絞り値のときの評価値を前記第1の絞り値よりも小さい第2の絞り値のときの評価値よりも大きくすることを特徴とする焦点調節装置。
A focus adjustment device that performs focus adjustment using an output signal from an image sensor that captures an image of a subject,
generating means for generating a plurality of pieces of focus detection information by performing processing using a plurality of filters having different bands on a pair of image signals generated from the output signal of the imaging device and having a phase difference according to the focus state of the subject image; ,
calculation means for calculating an evaluation value relating to the reliability of the focus detection information generated by the generation means;
In the moving image shooting mode, when the contrast of the subject satisfies a predetermined condition, the evaluation value regarding the reliability of the focus detection information is changed based on the aperture setting , and the moving image shooting mode; and setting means that does not change the evaluation value unless the contrast of the object satisfies a predetermined condition ,
When changing the evaluation value relating to the reliability of the focus detection information based on the setting of the aperture, the setting means sets the evaluation value at the first aperture value to a second aperture value smaller than the first aperture value. A focus adjustment device characterized in that the aperture value is made larger than the evaluation value.
前記算出手段は、前記一対の像信号の相関量の変化量を示す評価値から算出した前記焦点検出情報の標準偏差を基に、前記信頼性に関する評価値を算出することを特徴とする請求項1に記載の焦点調節装置。 3. The calculating means calculates the evaluation value regarding the reliability based on the standard deviation of the focus detection information calculated from the evaluation value indicating the amount of change in the correlation amount of the pair of image signals. 2. The focusing device according to 1. 前記焦点検出情報は、デフォーカス量であり、
前記評価値が第1の評価値の場合に、対応するデフォーカス量の方向は合っており、前記評価値が前記第1の評価値よりも高い第2の評価値の場合に、対応するデフォーカス量は合焦可能であることを特徴とする請求項1または2に記載の焦点調節装置。
The focus detection information is a defocus amount,
When the evaluation value is the first evaluation value, the direction of the corresponding defocus amount is correct, and when the evaluation value is the second evaluation value higher than the first evaluation value, the corresponding defocus amount is 3. The focus adjustment device according to claim 1, wherein the focus amount can be focused.
前記帯域の異なる複数のフィルタは第1のフィルタおよび前記第1のフィルタよりも帯域が高い第2のフィルタを含み、
前記第1のフィルタによる処理により生成された第1のデフォーカス量から前記第2のフィルタによる処理により生成された第2のデフォーカス量への引き継ぎにおいて、前記第2の評価値の場合、前記第1の評価値の場合とは引き継ぎができるか否かを判断するための条件が異なることを特徴とする請求項に記載の焦点調節装置。
The plurality of filters with different bands includes a first filter and a second filter with a higher band than the first filter,
In the handover from the first defocus amount generated by the processing by the first filter to the second defocus amount generated by the processing by the second filter, in the case of the second evaluation value, the 4. The focus adjustment device according to claim 3 , wherein a condition for judging whether or not it is possible to take over is different from the case of the first evaluation value.
被写体像を撮像する撮像素子からの出力信号を用いた焦点調節を行う焦点調節装置の制御方法であって、
前記撮像素子の出力信号から生成されて被写体像の焦点状態に応じた位相差を有する一対の像信号に帯域の異なる複数のフィルタによる処理を行うことで複数の焦点検出情報を生成する生成工程と、
前記生成工程で生成された前記焦点検出情報の信頼性に関する評価値を算出する算出工程と、
動画撮影するモードであり、かつ、被写体のコントラストが所定の条件を満たす場合に、絞りの設定に基づいて、前記焦点検出情報の信頼性に関する評価値を変更し、動画撮影するモードであり、かつ、被写体のコントラストが所定の条件を満たす場合でない場合に、前記評価値を変更しない設定工程とを有し、
前記設定工程では、絞りの設定に基づいて、前記焦点検出情報の信頼性に関する評価値を変更する際、第1の絞り値のときの評価値を前記第1の絞り値よりも小さい第2の絞り値のときの評価値よりも大きくすることを特徴とする焦点調節装置の制御方法。
A control method for a focus adjustment device that performs focus adjustment using an output signal from an image sensor that captures an image of a subject,
a generating step of generating a plurality of pieces of focus detection information by performing processing using a plurality of filters having different bands on a pair of image signals generated from the output signal of the imaging element and having a phase difference according to the focus state of the subject image; ,
a calculating step of calculating an evaluation value relating to the reliability of the focus detection information generated in the generating step;
In the moving image shooting mode, when the contrast of the subject satisfies a predetermined condition, the evaluation value regarding the reliability of the focus detection information is changed based on the aperture setting , and the moving image shooting mode; and a setting step of not changing the evaluation value unless the contrast of the subject satisfies a predetermined condition ,
In the setting step, when changing the evaluation value regarding the reliability of the focus detection information based on the setting of the aperture, the evaluation value at the first aperture value is changed to a second aperture value smaller than the first aperture value. A control method for a focus adjustment device, characterized in that the aperture value is made larger than the evaluation value.
JP2018114901A 2018-06-15 2018-06-15 Focus adjustment device and its control method Active JP7237473B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018114901A JP7237473B2 (en) 2018-06-15 2018-06-15 Focus adjustment device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018114901A JP7237473B2 (en) 2018-06-15 2018-06-15 Focus adjustment device and its control method

Publications (2)

Publication Number Publication Date
JP2019219448A JP2019219448A (en) 2019-12-26
JP7237473B2 true JP7237473B2 (en) 2023-03-13

Family

ID=69096359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018114901A Active JP7237473B2 (en) 2018-06-15 2018-06-15 Focus adjustment device and its control method

Country Status (1)

Country Link
JP (1) JP7237473B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017126035A (en) 2016-01-15 2017-07-20 キヤノン株式会社 Imaging apparatus, control method, program, and storage medium
JP2018045102A (en) 2016-09-14 2018-03-22 キヤノン株式会社 Focus adjustment device and imaging apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017126035A (en) 2016-01-15 2017-07-20 キヤノン株式会社 Imaging apparatus, control method, program, and storage medium
JP2018045102A (en) 2016-09-14 2018-03-22 キヤノン株式会社 Focus adjustment device and imaging apparatus

Also Published As

Publication number Publication date
JP2019219448A (en) 2019-12-26

Similar Documents

Publication Publication Date Title
US8890996B2 (en) Imaging device, semiconductor integrated circuit and imaging method
JP5618712B2 (en) Automatic focusing device and imaging device
JP2008009341A (en) Autofocus device and method, and imaging apparatus
JP6900161B2 (en) Focus adjustment device and imaging device
JP5095519B2 (en) Imaging apparatus and imaging method
JP6234058B2 (en) Focus adjustment apparatus and control method thereof
JP6838894B2 (en) Focus control device, its control method and program
JP6381434B2 (en) FOCUS CONTROL DEVICE, OPTICAL DEVICE, AND FOCUS CONTROL METHOD
JP7066388B2 (en) Focus control device, its control method, and program, storage medium, and image pickup device.
JP2016142999A (en) Imaging device and control method of the same
JP6122330B2 (en) Imaging apparatus and control method thereof
JP6987524B2 (en) Control device, image pickup device, control method, program, and storage medium
JP2009042555A (en) Electronic camera
JP7237473B2 (en) Focus adjustment device and its control method
JP7146474B2 (en) CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP7023673B2 (en) Focus control device, focus control method, and image pickup device
JP6501512B2 (en) Focus control apparatus, focus control method and focus control program
JP2010072559A (en) Imaging apparatus and object area extracting method
JP7358086B2 (en) Imaging device and its control method
JP6851755B2 (en) Focus adjustment device, focus adjustment method, program
JP4900134B2 (en) Focus adjustment device, camera
JP7282227B2 (en) Imaging device and its control method
US11012609B2 (en) Image pickup apparatus and its control method, and storage medium
JP7207874B2 (en) CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2017134154A (en) Focus control device, imaging device, and focus control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221115

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230301

R151 Written notification of patent or utility model registration

Ref document number: 7237473

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151