JP2014102290A - Automatic focusing apparatus - Google Patents

Automatic focusing apparatus Download PDF

Info

Publication number
JP2014102290A
JP2014102290A JP2012252553A JP2012252553A JP2014102290A JP 2014102290 A JP2014102290 A JP 2014102290A JP 2012252553 A JP2012252553 A JP 2012252553A JP 2012252553 A JP2012252553 A JP 2012252553A JP 2014102290 A JP2014102290 A JP 2014102290A
Authority
JP
Japan
Prior art keywords
scan
signal
evaluation value
value
bpf
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
JP2012252553A
Other languages
Japanese (ja)
Inventor
Kazuki Konishi
一樹 小西
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 JP2012252553A priority Critical patent/JP2014102290A/en
Publication of JP2014102290A publication Critical patent/JP2014102290A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To enable a focusing operation in which the difference between individuals and difference between photographing environments, of a predetermined shift amount for correcting a focusing position, required for the spacial frequency of an object are absorbed.SOLUTION: An automatic focusing apparatus includes imaging means for photoelectrically converting an object image formed by a photographic optical system including a focus lens and generating and outputting an imaging signal, and control means for performing a scan operation for obtaining an evaluation signal indicating the focusing state of the focus lens, while moving the focus lens, on the basis of the imaging signal and controlling the position of the focus lens, on the basis of the obtained evaluation signal. The automatic focusing apparatus includes a first mode for reading the imaging signal, while adding the imaging signal, and a second mode for reading the imaging signal, without adding the imaging signal, as a mode for reading the imaging signal from the imaging means. The control means limits the reading of the imaging signal through the use of the second mode, in the case of a second illuminance lower than a first illuminance.

Description

本発明は、焦点調整を行う自動焦点調整装置に関するものである。   The present invention relates to an automatic focus adjustment apparatus that performs focus adjustment.

従来より、光学の諸収差による自動焦点調整への影響を低減する手段が種々提案されている。例えば、特許文献1では、測距領域の色情報を検出し、測距領域に対応する合焦位置に対して、検出した色情報及び/又はフォーカスレンズの特性情報により決まる所定の量だけずらした位置に、フォーカスレンズを駆動することが開示されている。   Conventionally, various means have been proposed for reducing the influence of optical aberrations on automatic focus adjustment. For example, in Patent Document 1, color information of a distance measurement area is detected, and the focus position corresponding to the distance measurement area is shifted by a predetermined amount determined by the detected color information and / or characteristic information of the focus lens. It is disclosed that the focus lens is driven to the position.

また、特許文献2では、低周波パターンを有する被写体や微細なパターンを有する高周波被写体に対しても焦点検出を可能にすることを目的としている。この目的を達成するため、被写体像信号の空間周波数を所定値と比較した結果に基づいて、受光面上に形成される被写体像を標本化するサンプルピッチを選択し、選択した後の被写体像信号に基づいて焦点検出を行うことが開示されている。   Further, Patent Document 2 aims to enable focus detection for a subject having a low frequency pattern and a high frequency subject having a fine pattern. To achieve this object, a sample pitch for sampling the subject image formed on the light receiving surface is selected based on the result of comparing the spatial frequency of the subject image signal with a predetermined value, and the selected subject image signal It is disclosed to perform focus detection based on the above.

また、特許文献3では、被写体に含まれる空間周波数成分に関わらず精度良く焦点調整を行うことを目的としている。この目的のため、粗サーチの後に詳細サーチを行い、粗サーチで取得された焦点評価値の最大値が所定値以上であった場合には、詳細サーチで、粗サーチで用いたハイパスフィルタF1よりもカット周波数の高いハイパスフィルタF2を用いて高周波成分の抽出を行うことが開示されている。   Patent Document 3 aims to perform focus adjustment with high accuracy regardless of the spatial frequency component included in the subject. For this purpose, a detailed search is performed after the coarse search, and when the maximum focus evaluation value obtained by the coarse search is equal to or greater than a predetermined value, the high-pass filter F1 used in the coarse search is used in the detailed search. Also, it is disclosed that high frequency components are extracted using a high-pass filter F2 having a high cut frequency.

特開2004−347665号公報JP 2004-347665 A 特開平11−14900号公報Japanese Patent Laid-Open No. 11-14900 特開2004−325517号公報JP 2004-325517 A

しかしながら、特許文献1では、色情報検出手段の検出情報及び/又はフォーカスレンズの特性情報により決まる所定のずらし量の個体による違いや撮影環境による違いを吸収することができない。この違いを吸収するためには、なるべく高域の空間周波数を持つ被写体に対して焦点調節を行うことが有効である。しかし、高速に合焦位置を探索しようとする場合などには撮像素子の水平画素加算読み出しをせざるを得ないことがあり、その際は被写体の持つ高域の空間周波数のフォーカスレンズ位置特性を取得できない。そのため、所定のずらし量の個体による違いや撮影環境による違いを吸収し、かつ高速に焦点調節動作を行うことが出来ない。   However, in Patent Document 1, it is not possible to absorb the difference between individuals of a predetermined shift amount determined by the detection information of the color information detection means and / or the characteristic information of the focus lens and the difference due to the photographing environment. In order to absorb this difference, it is effective to perform focus adjustment on a subject having a spatial frequency as high as possible. However, when trying to find the in-focus position at high speed, it may be necessary to perform horizontal pixel addition reading of the image sensor, and in that case, the focus lens position characteristics of the high spatial frequency of the subject will be affected. can not get. For this reason, it is impossible to absorb a difference between individuals of a predetermined shift amount and a difference due to an imaging environment and perform a focus adjustment operation at high speed.

また、特許文献2は、位相差AFに関する発明で、受光面上に形成される被写体像を標本化するサンプルピッチが複数通りに選択でき、初期状態では細かいサンプリングピッチで被写体像信号の空間周波数を取得するものである。そのため、コントラストAFの高速化やフォーカスレンズの特性情報により決まる所定のずらし量については開示されていない。   Patent Document 2 is an invention relating to phase difference AF, and can select a plurality of sample pitches for sampling a subject image formed on a light receiving surface. In the initial state, the spatial frequency of a subject image signal is set with a fine sampling pitch. To get. For this reason, there is no disclosure about a predetermined shift amount determined by speeding up of contrast AF or focus lens characteristic information.

また、特許文献3は、粗サーチと詳細サーチでセンサー読み出しモードは同じである。ここで、所定のずらし量の個体による違いや撮影環境による違いを吸収しようとして水平画素非加算の読み出しモードを用いれば、高速な焦点調節動作を行えない。一方、高速化のために水平画素加算の読み出しモードを用いれば、所定のずらし量の個体による違いや撮影環境による違いを吸収することが出来ない。   In Patent Document 3, the sensor reading mode is the same for the coarse search and the detailed search. Here, if the horizontal pixel non-addition readout mode is used in order to absorb the difference between the predetermined shift amounts depending on the individual and the photographing environment, a high-speed focus adjustment operation cannot be performed. On the other hand, if the horizontal pixel addition readout mode is used for speeding up, it is not possible to absorb differences between individual shift amounts and differences due to shooting environments.

そこで、本発明は、被写体の空間周波数により必要となる合焦位置を補正する所定のずらし量の個体による違いや撮影環境による違いを吸収した焦点調節動作を可能にすることを目的とする。   Therefore, an object of the present invention is to make it possible to perform a focus adjustment operation that absorbs differences between individual shift amounts for correcting a focus position required by the spatial frequency of a subject and differences due to an imaging environment.

上記目的に鑑みて、第1の本発明は、フォーカスレンズを含む撮影光学系により結像される被写体像を光電変換して撮像信号を生成し出力する撮像手段と、前記撮像信号に基づいて、前記フォーカスレンズを移動させながら前記フォーカスレンズの合焦状態を示す評価信号を取得するスキャン動作を行い、取得した評価信号に基づいて前記フォーカスレンズの位置を制御する制御手段を有する自動焦点調整装置であって、前記撮像手段から前記撮像信号を読み出すモードとして、前記撮像信号を加算しながら読み出す第1のモードと、前記撮像信号を加算せずに読み出す第2のモードとを有し、前記制御手段は、第1の照度より低い第2の照度の場合、前記第2のモードを用いた前記撮像信号の読み出しを制限することを特徴とする。   In view of the above object, the first aspect of the present invention is based on an imaging unit that photoelectrically converts a subject image formed by a photographing optical system including a focus lens to generate and output an imaging signal, An automatic focus adjustment apparatus having a control unit that performs a scanning operation for acquiring an evaluation signal indicating an in-focus state of the focus lens while moving the focus lens, and that controls a position of the focus lens based on the acquired evaluation signal. The control means has a first mode for reading out the image pickup signal from the image pickup means and a second mode for reading out the image pickup signal without adding the image pickup signal. In the case of the second illuminance lower than the first illuminance, the reading of the imaging signal using the second mode is limited.

本発明によれば、被写体の空間周波数により必要となる合焦位置を補正する所定のずらし量の個体による違いや撮影環境による違いを吸収した焦点調節動作を可能にすることが可能になる。   According to the present invention, it is possible to enable a focus adjustment operation that absorbs differences between individual shift amounts for correcting a focus position required by the spatial frequency of an object and differences due to an imaging environment.

実施例の撮像装置1〜3を説明するブロック図Block diagram for explaining imaging devices 1 to 3 of the embodiment 実施例1〜3の動作手順説明図Explanatory drawing of operation procedure of Examples 1-3 AF評価値の信頼性判定方法を説明する図The figure explaining the reliability evaluation method of AF evaluation value 実施例1のスキャンAF処理の動作説明図Operation explanatory diagram of scan AF processing of Embodiment 1 被写体の空間周波数とピント位置の関係の一例を示す図The figure which shows an example of the relationship between a subject's spatial frequency and a focus position 実施例1のスキャンAF動作の説明図Explanatory drawing of scan AF operation of Example 1 実施例1の露出を決めるプログラム線図Program diagram for determining exposure in Example 1 実施例1の露出を決めるプログラム線図Program diagram for determining exposure in Example 1 実施例2の動作手順説明図Explanatory drawing of operation procedure of embodiment 2 実施例2のスキャンAF処理の動作説明図Operation explanatory diagram of scan AF processing of embodiment 2

(実施例1)
図1に本発明を実施した撮像装置1のブロック図を示す。撮影レンズ鏡筒31は、ズームレンズ群2、フォーカスレンズ群3、およびこれらのレンズ群を透過する光束の量を制御する光量調節手段であり露出手段である絞りを含む撮影光学系を備える。
Example 1
FIG. 1 shows a block diagram of an imaging apparatus 1 embodying the present invention. The photographic lens barrel 31 includes a zoom lens group 2, a focus lens group 3, and a photographic optical system that includes a diaphragm that is an amount of light adjusting means that controls the amount of light transmitted through these lens groups and is an exposure means.

まず、撮像装置1の撮影レンズ鏡筒31を透過した被写体光束は、絞り4によってその光量が調整された後、センサー5の受光面に結像される。この被写体像は、CCDやCMOSなどの固体撮像素子(センサー)5の光電変換処理により電気的な信号(撮像信号)に変換され撮像回路6に出力される。撮像回路6では、入力した信号に対して各種の信号処理が施され、所定の画像信号が生成される。この画像信号はA/D変換回路7に出力され、デジタル信号(画像データ)に変換された後、バッファメモリ等のメモリ(VRAM)8に一時的に格納される。VRAM8に格納された画像データは、D/A変換回路9へ出力され、アナログ信号に変換されて表示するのに適した形態の画像信号に変換された後、画像表示装置(LCD)10に画像として表示される。   First, the light flux of the subject that has passed through the taking lens barrel 31 of the image pickup apparatus 1 is imaged on the light receiving surface of the sensor 5 after the amount of light is adjusted by the diaphragm 4. This subject image is converted into an electrical signal (imaging signal) by photoelectric conversion processing of a solid-state imaging device (sensor) 5 such as a CCD or CMOS, and is output to the imaging circuit 6. In the imaging circuit 6, various signal processing is performed on the input signal, and a predetermined image signal is generated. This image signal is output to the A / D conversion circuit 7, converted into a digital signal (image data), and then temporarily stored in a memory (VRAM) 8 such as a buffer memory. The image data stored in the VRAM 8 is output to the D / A conversion circuit 9, converted into an analog signal and converted into an image signal in a form suitable for display, and then the image data is displayed on the image display device (LCD) 10. Is displayed.

一方、VRAM8に格納された画像データは圧縮伸長回路11にも出力される。圧縮伸長回路11は、圧縮回路と伸長回路とからなる。圧縮回路は、VRAM8に一時記憶された画像信号を読み出して記憶用メモリ12に対する記憶に適した形態にするために、画像データの圧縮処理や符号化処理を施す。伸長回路は、記憶用メモリ12に記憶された画像データに対して再生表示等をするのに最適な形態とするための復号化処理や伸長処理等を施す。VRAM8から出力された画像データは、この圧縮伸長回路11における圧縮回路によって圧縮処理が行われた後、記憶に適した形態の画像データに変換され、半導体メモリ等からなる記憶用メモリ12に記憶される。   On the other hand, the image data stored in the VRAM 8 is also output to the compression / decompression circuit 11. The compression / expansion circuit 11 includes a compression circuit and an expansion circuit. The compression circuit reads out the image signal temporarily stored in the VRAM 8 and performs compression processing and encoding processing of the image data in order to make it suitable for storage in the storage memory 12. The decompression circuit performs a decoding process, a decompression process, and the like for making the image data stored in the storage memory 12 an optimum form for reproducing and displaying. The image data output from the VRAM 8 is subjected to compression processing by the compression circuit in the compression / decompression circuit 11, converted to image data in a form suitable for storage, and stored in the storage memory 12 including a semiconductor memory or the like. The

なお、画像データ等の記憶媒体である記憶用メモリ12は、フラッシュメモリ等の固定型の半導体メモリや、カード形状やスティック形状からなり装置に対して着脱自在に形成されるカード型フラッシュメモリ等の半導体メモリが適用される。その他、ハードディスクやフロッピィ−ディスク等の磁気記憶媒体等、様々な形態のものが適用される。   The storage memory 12 that is a storage medium for image data or the like is a fixed semiconductor memory such as a flash memory, or a card-type flash memory that has a card shape or a stick shape and is detachable from the device. A semiconductor memory is applied. In addition, various forms such as a magnetic storage medium such as a hard disk or a floppy disk are applied.

また、操作スイッチ24としては、本撮像装置1を起動させ電源供給を行うための主電源スイッチや撮影動作(記憶動作)等を開始させるレリーズスイッチがある。その他、再生動作を開始させる再生スイッチ、撮影光学系のズームレンズ群2を移動させズームを行わせるズームスイッチ、光学式ファインダー(OVF)電子ビューファインダー(EVF)切り替えスイッチ等がある。レリーズスイッチは、撮影動作に先立ち行われるAE処理、AF処理を開始させる指示信号を発生する第一ストローク(以下SW1)と実際の露光動作を開始させる指示信号を発生する第ニストローク(以下SW2)との二段スイッチにより構成される。   As the operation switch 24, there are a main power switch for starting the imaging apparatus 1 and supplying power, and a release switch for starting a photographing operation (storage operation). In addition, there are a playback switch for starting a playback operation, a zoom switch for moving the zoom lens group 2 of the photographing optical system to perform zooming, an optical viewfinder (OVF) electronic viewfinder (EVF) changeover switch, and the like. The release switch has a first stroke (hereinafter referred to as SW1) for generating an instruction signal for starting an AE process and an AF process performed before the photographing operation and a second stroke (hereinafter referred to as SW2) for generating an instruction signal for starting an actual exposure operation. And a two-stage switch.

例えば、操作スイッチ24のうち不図示の再生スイッチが操作されオン状態になると、再生動作が開始される。すると記憶用メモリ12に圧縮された形で記憶された画像データは圧縮伸長回路11に出力され、伸長回路において復号化処理や伸長処理等が施された後、VRAM8に出力され一時的に記憶される。更に、この画像データはD/A変換回路9へ出力されアナログ信号に変換され表示するのに適した形態の画像信号に変換された後、LCD10に画像として表示される。   For example, when a reproduction switch (not shown) of the operation switches 24 is operated and turned on, the reproduction operation is started. Then, the image data stored in a compressed form in the storage memory 12 is output to the compression / expansion circuit 11, subjected to decoding processing, expansion processing, etc. in the expansion circuit, and then output to the VRAM 8 and temporarily stored. The Further, the image data is output to the D / A conversion circuit 9, converted into an analog signal, converted into an image signal in a form suitable for display, and then displayed on the LCD 10 as an image.

他方、A/D変換回路7によってデジタル化された画像データは、上述のVRAM8とは別に、自動露出(AE)処理を行うAE処理回路13、自動焦点調節(AF)処理を行うAF処理回路14及び顔検出回路36に対しても出力される。まずAE処理回路13においては、入力されたデジタル画像信号を受けて、一画面分の画像データの輝度値に対して累積加算等の演算処理が行われる。これにより、被写体の明るさに応じたAE評価値が算出される。このAE評価値はCPU15に出力される。   On the other hand, the image data digitized by the A / D conversion circuit 7 includes an AE processing circuit 13 that performs automatic exposure (AE) processing and an AF processing circuit 14 that performs automatic focus adjustment (AF) processing, separately from the VRAM 8 described above. And the face detection circuit 36. First, the AE processing circuit 13 receives the input digital image signal and performs arithmetic processing such as cumulative addition on the luminance value of the image data for one screen. Thereby, the AE evaluation value corresponding to the brightness of the subject is calculated. This AE evaluation value is output to the CPU 15.

AF処理回路14は、A/D変換回路7からの出力を受けて合焦状態を示すAF評価値を生成する。AF処理回路14においては、入力されたデジタル画像信号を受けて、画像データの高周波成分をハイパスフィルター(HPF)等を介して抽出し、累積加算等の演算処理を行うことで、高域側の輪郭成分量等に対応するAF評価値信号が算出される。具体的には、AF領域として指定された画面の一部分の領域に相当する画像データの高周波成分をハイパスフィルター(HPF)等を介して抽出し、更に累積加算等の演算処理を行う。これにより、高域側の輪郭成分量等に対応するAF評価値信号が算出される。このAF領域は中央部分あるいは画面上の任意の部分の一箇所である場合や、中央部分あるいは画面上の任意の部分とそれに隣接する複数箇所である場合、離散的に分布する複数箇所である場合などがある。このようにAF処理回路14は、AF処理を行う過程において、センサー5によって生成された画像信号から所定の高周波成分を検出する高周波成分検出手段の役割を担っている。   The AF processing circuit 14 receives the output from the A / D conversion circuit 7 and generates an AF evaluation value indicating the in-focus state. The AF processing circuit 14 receives the input digital image signal, extracts a high-frequency component of the image data through a high-pass filter (HPF) or the like, and performs arithmetic processing such as cumulative addition, so that the high frequency side is processed. An AF evaluation value signal corresponding to the contour component amount and the like is calculated. Specifically, high-frequency components of image data corresponding to a partial area of the screen designated as the AF area are extracted via a high-pass filter (HPF) or the like, and arithmetic processing such as cumulative addition is performed. Thereby, an AF evaluation value signal corresponding to the contour component amount on the high frequency side and the like is calculated. When this AF area is one place in the central part or any part on the screen, or in the central part or any part on the screen and a plurality of adjacent parts, or in a plurality of places distributed discretely and so on. As described above, the AF processing circuit 14 serves as a high-frequency component detection unit that detects a predetermined high-frequency component from the image signal generated by the sensor 5 in the process of performing the AF processing.

顔検出回路36においては、A/D変換回路7から入力されたデジタル画像信号を受けて、目、眉などの顔を特徴付ける部分を画像上で探索し、人物の顔の画像上での位置を求める。更に顔の大きさや傾きなどを、顔を特徴付ける部分の間隔などの位置関係から求める。   The face detection circuit 36 receives the digital image signal input from the A / D conversion circuit 7 and searches the image for portions characterizing the face such as eyes and eyebrows, and determines the position of the person's face on the image. Ask. Further, the size and inclination of the face are obtained from the positional relationship such as the interval between the parts characterizing the face.

一方、タイミングジェネレータ(TG)16からは、所定のタイミング信号がCPU15、撮像回路6、センサードライバー17へ出力されており、CPU15はこのタイミング信号に同期させて各種の制御を行う。また撮像回路6は、TG16からのタイミング信号を受け、これに同期させて色信号の分離等の各種画像処理を行う。更にセンサードライバー17は、TG16のタイミング信号を受け、これに同期してセンサー5を駆動する。   On the other hand, a predetermined timing signal is output from the timing generator (TG) 16 to the CPU 15, the image pickup circuit 6, and the sensor driver 17, and the CPU 15 performs various controls in synchronization with this timing signal. The imaging circuit 6 receives the timing signal from the TG 16 and performs various image processing such as separation of color signals in synchronization with the timing signal. Further, the sensor driver 17 receives the timing signal of the TG 16 and drives the sensor 5 in synchronization therewith.

CPU15は、第一モータ駆動回路18、第ニモータ駆動回路19、第三モータ駆動回路20をそれぞれ制御することにより、絞り駆動モータ21、フォーカス駆動モータ22、ズーム駆動モータ23を介して、絞り4、フォーカスレンズ群3、ズームレンズ群2を駆動制御する。すなわち、CPU15は、AE処理回路13において算出されたAE評価値等に基づき第一モータ駆動回路18を制御して絞り駆動モータ21を駆動し、絞り4の絞り量を適正になるように調整するAE制御を行う。また、CPU15は、AF処理回路14において算出されるAF評価値信号に基づき、第ニモータ駆動回路19を制御してフォーカス駆動モータ22を駆動し、フォーカスレンズ群3を合焦位置に移動させるAF制御を行う。また、操作スイッチ24のうち不図示のズームスイッチが操作された場合は、これを受けてCPU15は、第三モータ駆動回路20を制御してズーム駆動モータ23を駆動制御することによりズームレンズ群2を移動させ、撮影光学系の変倍動作(ズーム動作)を行う。   The CPU 15 controls the first motor driving circuit 18, the second motor driving circuit 19, and the third motor driving circuit 20, respectively, so that the diaphragm 4, the focus driving motor 22, and the zoom driving motor 23 are controlled. The focus lens group 3 and the zoom lens group 2 are driven and controlled. That is, the CPU 15 controls the first motor drive circuit 18 based on the AE evaluation value calculated by the AE processing circuit 13 to drive the aperture drive motor 21 and adjust the aperture amount of the aperture 4 so as to be appropriate. AE control is performed. Further, the CPU 15 controls the second motor drive circuit 19 based on the AF evaluation value signal calculated by the AF processing circuit 14 to drive the focus drive motor 22 to move the focus lens group 3 to the in-focus position. I do. When a zoom switch (not shown) among the operation switches 24 is operated, the CPU 15 receives this and controls the third motor drive circuit 20 to drive the zoom drive motor 23, thereby controlling the zoom lens group 2. Is moved to perform a zooming operation of the photographing optical system.

EEPROM25は、各種制御等を行うプログラムや各種動作を行わせるために使用するデータ等が予め記憶されている電気的に書き換え可能な読み出し専用メモリである。26は電池である。スイッチング回路27は、ストロボ発光部28の閃光発光を制御する。スピーカー30は、音声によるガイダンスや警告などを行う。LED29は、CPU15の指示に基づき、合焦表示や警告表示などを行う。AF補助光発光部33は、AF評価値を取得する際に、被写体の全部又は一部を照明する照明手段であるLEDなどの光源で構成される。AF補助光駆動回路32は、CPU15の指示に基づきAF補助光発光部33を駆動する。振れ検出センサー35は手振れなどを検出し、振れ検出回路34は振れ検出センサー35の信号を処理する。   The EEPROM 25 is an electrically rewritable read-only memory in which programs for performing various controls and the like and data used for performing various operations are stored in advance. 26 is a battery. The switching circuit 27 controls the flash emission of the strobe light emitting unit 28. The speaker 30 performs voice guidance and warning. The LED 29 performs an in-focus display or a warning display based on an instruction from the CPU 15. The AF auxiliary light emitting unit 33 is composed of a light source such as an LED, which is an illuminating unit that illuminates all or part of the subject when acquiring an AF evaluation value. The AF auxiliary light driving circuit 32 drives the AF auxiliary light emitting unit 33 based on an instruction from the CPU 15. The shake detection sensor 35 detects camera shake and the like, and the shake detection circuit 34 processes the signal of the shake detection sensor 35.

次に、本実施例の撮像装置の実際の撮影動作を図2に示すフローチャートを用いて説明する。なお、本実施例においては、フォーカスレンズ群3を所定位置に駆動しながらAF評価値を取得する動作をスキャン動作と呼ぶ。また、AF評価値を取得するフォーカスレンズの位置の間隔をスキャン間隔、AF評価値を取得する位置をスキャンポイント、AF評価値を取得する数をスキャンポイント数、AF評価値を取得する範囲をスキャン範囲、合焦位置を検出するための画像信号を取得する領域をAF枠と呼ぶ。   Next, the actual photographing operation of the image pickup apparatus of the present embodiment will be described with reference to the flowchart shown in FIG. In this embodiment, the operation of acquiring the AF evaluation value while driving the focus lens group 3 to a predetermined position is called a scan operation. Also, the focus lens position interval from which the AF evaluation value is acquired is the scan interval, the position at which the AF evaluation value is acquired is the scan point, the number of AF evaluation value acquisition is the scan point number, and the AF evaluation value acquisition range is scanned. An area for acquiring an image signal for detecting the range and the in-focus position is called an AF frame.

本撮像装置1の主電源スイッチがオン状態であり、かつ撮像装置の動作モードが撮影(録画)モードにあるときは、撮影処理シーケンスが実行される。まずステップS201において、CPU15は、撮影レンズ鏡筒31を透過しセンサー5上に結像した像をLCDに画像として表示する。   When the main power switch of the imaging apparatus 1 is in the ON state and the operation mode of the imaging apparatus is in the shooting (recording) mode, the shooting process sequence is executed. First, in step S201, the CPU 15 displays an image formed on the sensor 5 through the photographing lens barrel 31 as an image on the LCD.

次いでステップS202において、レリーズスイッチの状態を確認する。撮影者によってレリーズスイッチが操作され、SW1(レリーズスイッチの第一ストローク)がオン状態になったことをCPU15が確認すると、次のステップS203に進み、通常のAE処理が実行される。   Next, in step S202, the state of the release switch is confirmed. When the photographer operates the release switch and the CPU 15 confirms that SW1 (first stroke of the release switch) is turned on, the process proceeds to the next step S203, and normal AE processing is executed.

続いてステップS204において、AF処理回路14は、複数のAF評価値を取得してその結果から合焦位置を検出するためのスキャンAF処理を行う。なおこの処理の詳細については後述する。   Subsequently, in step S204, the AF processing circuit 14 acquires a plurality of AF evaluation values and performs a scan AF process for detecting a focus position from the results. Details of this processing will be described later.

ステップS204で得られたいずれかのAF評価値の信頼性が十分であれば、ステップS205においてAFOK表示を行う。AFOK表示は、LED29の点灯などにより行うとともに、LCD10上に緑の枠を表示するなどの処理を行う。また、ステップS204において、全てのAF評価値信号の信頼性が低い場合には、合焦位置の検出は行わずに、ステップS205に進みAFNG表示を行う。これはLED29を点滅表示することなどにより行うと同時にLCD上に黄色の枠を表示するなどの処理を行う。   If the reliability of any AF evaluation value obtained in step S204 is sufficient, AFOK display is performed in step S205. The AFOK display is performed by turning on the LED 29 and the like, and processing such as displaying a green frame on the LCD 10 is performed. If the reliability of all AF evaluation value signals is low in step S204, the focus position is not detected and the process proceeds to step S205 where AFNG display is performed. This is performed by, for example, blinking the LED 29, and simultaneously performing processing such as displaying a yellow frame on the LCD.

ステップS206において、CPU15は、SW2(レリーズスイッチの第ニストローク)の確認を行い、SW2がオンになっていたならば、ステップS207に進み、実際の露光処理を実行する。   In step S206, the CPU 15 confirms SW2 (second stroke of the release switch). If SW2 is on, the CPU 15 proceeds to step S207 and executes actual exposure processing.

ここで、AF評価値信号の信頼性を評価する方法について説明する。具体的な方法は、特登録4235422号公報や特登録4185741号公報に記載されているので、ここでは図3を用いてその概略を説明する。   Here, a method for evaluating the reliability of the AF evaluation value signal will be described. Since a specific method is described in Japanese Patent Registration No. 4235422 and Japanese Patent Registration No. 4185541, the outline thereof will be described with reference to FIG.

AF評価信号は、遠近競合の特殊な場合を除けば、横軸に距離、縦軸にAF評価値をとるとその形は図3に示すような山状になる。そこでAF評価信号が山状になっているか否かをAF評価信号の最大値と最小値の差、一定値以上の傾きで傾斜している部分の長さ、傾斜している部分の勾配から判断することにより、AF評価信号の信頼性を判断している。図3に示すように、山の頂上(A点)から傾斜していると認められる点D点、E点を求める。これは、取得点と隣接する点において取得されたAF評価値の差を調べることにより行われる。このチェックは山の頂上(A点)から開始する。山の頂上(A点)とD点側(無限遠側)の隣接点とのAF評価値の差を調べ、山の頂上(A点)の方が大きければ傾斜していると判断する。次いで山の頂上(A点)と比較した点とその隣接点のAF評価値の差を調べ、山の頂上(A点)に近い方の点のAF評価値が大きくかつその差が所定値(SlopeThr)以上であれば、傾斜していると判断する。このチェックを隣接する点のAF評価値の大小関係が逆転するか、差が所定値より小さくなるまで続ける。図3ではD点とD点に隣接する無限遠側の点のAF評価値の差が所定値より小さくなったため、D点までを一定値以上の傾きで傾斜している部分と判定している。同様にしてE点側(至近側)を調べる。図3ではE点までが一定値以上の傾きで傾斜している部分と判定している。D点とE点の幅を山の幅Lとし、A点とD点のAF評価値の差SL1と、A点とE点のAF評価値の差SL2を求め、その和SL1+SL2を山の勾配SLとしている。   The AF evaluation signal has a mountain shape as shown in FIG. 3 when the horizontal axis indicates the distance and the vertical axis indicates the AF evaluation value, except for a special case of near-far competition. Therefore, whether or not the AF evaluation signal has a mountain shape is determined from the difference between the maximum value and the minimum value of the AF evaluation signal, the length of the inclined portion with an inclination greater than a certain value, and the gradient of the inclined portion. By doing so, the reliability of the AF evaluation signal is determined. As shown in FIG. 3, points D and E that are recognized as being inclined from the top of the mountain (point A) are obtained. This is performed by examining the difference between the AF evaluation values acquired at points adjacent to the acquisition point. This check starts from the top of the mountain (point A). The difference in the AF evaluation values between the top of the mountain (point A) and the adjacent point on the D point side (infinity side) is examined, and if the top of the mountain (point A) is larger, it is determined that the slope is inclined. Next, the difference between the AF evaluation value of the point compared to the peak of the mountain (point A) and its adjacent point is examined, the AF evaluation value of the point closer to the peak of the mountain (point A) is large, and the difference is a predetermined value ( If it is equal to or greater than (SlopeThr), it is determined that the vehicle is inclined. This check is continued until the magnitude relationship between the AF evaluation values of adjacent points is reversed or the difference is smaller than a predetermined value. In FIG. 3, since the difference between the AF evaluation values of the point D and the point on the infinity side adjacent to the point D is smaller than a predetermined value, the point up to the point D is determined to be a portion inclined at a certain value or more. . Similarly, the point E side (closest side) is examined. In FIG. 3, it is determined that the portion up to point E is inclined at a certain inclination or more. The width between points D and E is defined as the width L of the mountain, the difference SL1 between the AF evaluation values at points A and D and the difference SL2 between the AF evaluation values at points A and E are obtained, and the sum SL1 + SL2 is determined as the slope of the mountain SL.

この様にして求めたAF評価値の信頼性を判定するための諸係数をそれぞれの閾値と比較し、全ての条件を満たしたならばAF評価値の信頼性があると判定する。まず、AF評価値の最大値と最小値の差をその所定値と比較し、所定値より小さい場合は信頼性が低いと判断する。この場合の最大値と最小値はAF評価値全体の最大値と最小値であり、図3の例では最大値はA点で取得されたAF評価値であるが、最小値はE点での値ではなく、更に至近側の点で取得された値となる。一定値以上の傾きで傾斜している部分の長さLをその所定値Loと比較し、所定値より小さい場合は信頼性が低いと判断する。そして傾斜している部分の傾斜の平均値SL/Lをその所定値SLo/Loと比較し、所定値より小さい場合は信頼性が低いと判断する。以上の3つの条件を満たした場合、AF評価値の信頼性が高いと判定する。   The coefficients for determining the reliability of the AF evaluation value obtained in this way are compared with respective threshold values, and if all the conditions are satisfied, it is determined that the AF evaluation value is reliable. First, the difference between the maximum value and the minimum value of the AF evaluation value is compared with the predetermined value, and if it is smaller than the predetermined value, it is determined that the reliability is low. The maximum value and the minimum value in this case are the maximum value and the minimum value of the entire AF evaluation value. In the example of FIG. 3, the maximum value is the AF evaluation value acquired at point A, but the minimum value is the value at point E. It is not a value but a value obtained at a point closer to the closest side. The length L of the portion that is inclined at an inclination of a certain value or more is compared with the predetermined value Lo, and if it is smaller than the predetermined value, it is determined that the reliability is low. Then, the average value SL / L of the inclined portion is compared with the predetermined value SLo / Lo, and if it is smaller than the predetermined value, it is determined that the reliability is low. When the above three conditions are satisfied, it is determined that the reliability of the AF evaluation value is high.

ここで、図2のステップS204における合焦位置を検出するためのスキャンAF処理の概念を、図4を用いて説明する。スキャンAFは、センサー5から出力された撮像信号の高周波成分がそれぞれのBPFにおいて最も多くなるフォーカスレンズ群3の位置を求めることにより行われる。実際には一度のフォーカスレンズ群3の移動で複数のBPFにおけるデータを取得し処理するが、図4では図を見やすくするため一つのBPFに関する出力波形のみを示すこととする。   Here, the concept of the scan AF process for detecting the in-focus position in step S204 in FIG. 2 will be described with reference to FIG. The scan AF is performed by obtaining the position of the focus lens group 3 where the high frequency component of the imaging signal output from the sensor 5 is the largest in each BPF. Actually, data in a plurality of BPFs are acquired and processed by moving the focus lens group 3 once, but in FIG. 4, only the output waveform related to one BPF is shown to make the drawing easier to see.

CPU15は、第ニモータ駆動回路19を介してフォーカス駆動モータ22を制御し、フォーカスレンズ群3を無限遠に相当する位置(図4における「A」)から各々の撮影モードにおいて設定される至近距離に相当する位置(図4における「B」)まで駆動する。そして、フォーカスレンズ群3を駆動しながらAF処理回路14の出力(AF評価値信号)を設定された複数のBPF毎に取得し、フォーカスレンズ群3の駆動が終了した時点で取得したAF評価値信号から、複数のBPF毎にそれが最大になる位置(図4における「C」)を求める。   The CPU 15 controls the focus drive motor 22 via the second motor drive circuit 19 so that the focus lens group 3 is moved from a position corresponding to infinity (“A” in FIG. 4) to a close distance set in each shooting mode. Drive to the corresponding position ("B" in FIG. 4). Then, while driving the focus lens group 3, the output (AF evaluation value signal) of the AF processing circuit 14 is acquired for each of a plurality of set BPFs, and the AF evaluation value acquired when the driving of the focus lens group 3 is completed. From the signal, a position (“C” in FIG. 4) at which it becomes maximum is obtained for each of the plurality of BPFs.

このAF処理回路14の出力の取得は、スキャンAFの高速化のために、全てのフォーカスレンズ群3の停止位置については行わず、所定ステップ毎に行う。この場合、図4に示すa1、a2、a3点においてAF評価値信号を取得することがありうる。このような場合はAF評価値信号が最大値となった点とその前後の点から合焦位置Cを計算にて求めている。   The acquisition of the output of the AF processing circuit 14 is performed at predetermined steps without performing stop positions of all the focus lens groups 3 in order to increase the speed of scan AF. In this case, the AF evaluation value signal may be acquired at points a1, a2, and a3 shown in FIG. In such a case, the in-focus position C is obtained by calculation from the point where the AF evaluation value signal becomes the maximum value and the points before and after that point.

次に、図2のステップS204のスキャンAF処理の詳細について説明する。まず、AF処理回路14の出力(AF評価値信号)について説明する。概略の説明では、「高周波成分をハイパスフィルター(HPF)等を介して抽出し、更に累積加算等の演算処理を行い、高域側の輪郭成分量等に対応するAF評価値信号が算出される」と説明したが、透過特性の異なる複数のフィルターが用意されている。また、ナイキスト周波数付近のノイズ成分の除去や高域の信号によるエイリアスを防止するためバンドパスフィルター(BPF)を構成し、高域側の輪郭成分量等に対応するAF評価値信号を算出している。   Next, details of the scan AF process in step S204 of FIG. 2 will be described. First, the output (AF evaluation value signal) of the AF processing circuit 14 will be described. In the general description, “high-frequency components are extracted via a high-pass filter (HPF) or the like, and further arithmetic processing such as cumulative addition is performed, and an AF evaluation value signal corresponding to the contour component amount on the high frequency side is calculated. However, a plurality of filters having different transmission characteristics are prepared. In addition, a bandpass filter (BPF) is configured to remove noise components near the Nyquist frequency and prevent aliasing due to high-frequency signals, and an AF evaluation value signal corresponding to the contour component amount on the high-frequency side is calculated. Yes.

次に、BPFの設定方法と合焦位置の求め方について説明する。一般に光学系の球面収差などの収差が生じると、被写体の周波数に応じたピント位置が異なる。よって異なる特性を持つ複数の被写体の高域の空間周波数を抽出するフィルターを用いて、フォーカスレンズ群3を駆動しながらAF評価値信号を取得すると、例えば図5に示すようになる。   Next, the BPF setting method and how to obtain the in-focus position will be described. In general, when aberration such as spherical aberration of an optical system occurs, the focus position differs according to the frequency of the subject. Therefore, when an AF evaluation value signal is acquired while driving the focus lens group 3 using a filter that extracts high-frequency spatial frequencies of a plurality of subjects having different characteristics, for example, as shown in FIG.

図5には、ナイキスト周波数の6.7%、13.3%、16.7%、26.7%、50%、80%でフィルターの透過率が最大となるような特性を持つBPFにおけるフォーカス位置とベストピント位置(合焦位置)の関係を示す。フィルターの周波数特性が異なると、AF評価値が最大となる位置が異なる。図5では、BPFの透過率が最大となる周波数が高くなるほど、右側(すなわちピントとしては近いものにピントを合わせる側)にAF評価値が最大になる位置が分布している。この分布の仕方はフォーカスレンズ群3を含む撮影レンズ鏡筒31の特性によるものであるため、必ず図5の様になるとは限らない。逆の特性になる場合もあれば、その差が小さくほとんど同じ位置にAF評価値が最大になる位置が分布する場合もある。また、その量は、撮影レンズ鏡筒の変倍に伴う焦点距離や撮影距離などによっても異なることがある。   FIG. 5 shows a focus in a BPF having such characteristics that the transmittance of the filter is maximum at 6.7%, 13.3%, 16.7%, 26.7%, 50%, and 80% of the Nyquist frequency. The relationship between the position and the best focus position (focus position) is shown. When the frequency characteristics of the filters are different, the position where the AF evaluation value is maximized is different. In FIG. 5, the position where the AF evaluation value is maximized is distributed on the right side (that is, the side where the focus is close to the focus) as the frequency at which the transmittance of the BPF becomes maximum increases. Since this distribution is due to the characteristics of the photographic lens barrel 31 including the focus lens group 3, it is not always as shown in FIG. In some cases, the characteristics are reversed, and in other cases, the positions where the difference is small and the AF evaluation value is maximized are distributed at almost the same position. In addition, the amount may vary depending on the focal length, shooting distance, etc. associated with zooming of the taking lens barrel.

自動焦点調整動作を行う場合は、なるべく高い周波数においてフィルターの透過率が最大となるものを用い、そのAF評価値が最大になる位置へフォーカスレンズ群3を駆動する。それにより、撮影者が見た目でベストのピント位置と感じるフォーカスレンズ群3の位置を得ることが可能になる。これは、空間周波数の高い被写体と低い被写体が混在する被写体を撮影した場合、空間周波数の低い被写体は多少ベストのピント位置からずれていても像がボケていると感じないが、空間周波数の高い被写体の場合は僅かなずれでも像がボケていると感じやすいからである。   When performing the automatic focus adjustment operation, the one that maximizes the transmittance of the filter at the highest possible frequency is used, and the focus lens group 3 is driven to a position where the AF evaluation value is maximized. This makes it possible to obtain the position of the focus lens group 3 that the photographer feels as the best focus position. This is because when shooting a subject with a mixture of high and low spatial frequencies, the low spatial frequency subjects do not feel blurred even if they are slightly out of focus, but the spatial frequency is high. This is because in the case of a subject, it is easy to feel that the image is blurred even with a slight shift.

しかし、フィルターの透過率が最大となるBPFを用いて高い周波数におけるAF評価値が最大になる位置を求めようとしても、以下のような理由により十分なAF評価値信号の信頼性が得られず、AF評価値が最大になる位置を求めることができない場合がある。
(1)センサーから高速で信号を読み出すために読み出し時に画素加算を行い実際の画素数より読み出し画素数を減らすことにより、加算を行わない際に存在する被写体の高い周波数成分が失われる。
(2)高域の信号にはセンサーや回路系において重畳されるノイズが含まれているため、偽の信号を発生させることがある。特に低照度ではこの傾向が顕著になる。
(3)撮影者の手振れや、被写体が動くことにより被写体の高い周波数成分が失われることがある。
(4)被写体の端部があれば必ず低い空間周波数成分は存在するが、被写体に細かいパターンが存在しない場合などは高い周波数成分自体が存在しないこともある。
However, even if an attempt is made to obtain a position where the AF evaluation value at a high frequency is maximized using a BPF having the maximum transmittance of the filter, sufficient AF evaluation value signal reliability cannot be obtained for the following reason. In some cases, the position where the AF evaluation value is maximized cannot be obtained.
(1) In order to read out signals from the sensor at high speed, pixel addition is performed at the time of reading, and the number of read pixels is reduced from the actual number of pixels, so that a high frequency component of a subject existing when no addition is performed is lost.
(2) Since the high-frequency signal includes noise superimposed on the sensor or the circuit system, a false signal may be generated. This tendency is particularly noticeable at low illumination.
(3) A high frequency component of the subject may be lost due to camera shake of the photographer or movement of the subject.
(4) A low spatial frequency component always exists if there is an end of the subject, but a high frequency component itself may not exist if a fine pattern does not exist in the subject.

(2)〜(4)は撮影時の状況によっては生じない可能性があるが、(1)はAFに要する時間を短縮する際には必要な要件であるため、必ず生じてしまう。最近の撮像素子においては水平・垂直方向にそれぞれ3画素加算を行い読み出すものが主流のため、AF時に得られる高域成分は、撮影時のナイキスト周波数の33.3%以下のものしか得られない。一方、ベストピント位置(合焦位置)として撮影時のナイキスト周波数の50%〜80%のピント位置を要求されるため、このままではピントを合わせることが出来ない。   Although (2) to (4) may not occur depending on the situation at the time of shooting, (1) is a necessary requirement for reducing the time required for AF, and therefore it always occurs. Most recent image sensors read and add 3 pixels in the horizontal and vertical directions respectively, so the high-frequency component obtained during AF can only be obtained at 33.3% or less of the Nyquist frequency during shooting. . On the other hand, since the focus position of 50% to 80% of the Nyquist frequency at the time of shooting is required as the best focus position (focus position), it is not possible to focus as it is.

そのため、背景技術の特許文献1のように、比較的低い周波数においてフィルターの透過率が最大となるものを用い、そのAF評価値が最大になる位置からフォーカスレンズの特性情報により決まる所定の量だけずらした位置にフォーカスレンズ群3を駆動する方法が採用されてきた。しかしこの方法には、フォーカスレンズの特性情報により決まる所定の量に個体差・被写体依存・光源依存などの誤差成分が存在する。従って、この誤差成分が大きな場合は十分な合焦精度を得ることができなかった。   Therefore, as in Patent Document 1 of the background art, a filter having the maximum transmittance at a relatively low frequency is used, and a predetermined amount determined by the characteristic information of the focus lens from the position where the AF evaluation value is maximized. A method of driving the focus lens group 3 at a shifted position has been adopted. However, in this method, there are error components such as individual differences, subject dependency, and light source dependency in a predetermined amount determined by the characteristic information of the focus lens. Therefore, when this error component is large, sufficient focusing accuracy cannot be obtained.

そこで、本発明においては、まずは水平画素加算を行う高速で読み出し可能な読み出しモードを用いて比較的粗い間隔でスキャンを行い、低域から高域まで複数のBPFでAF評価値の取得を行う。各々のAF評価値からその値が最大となるフォーカスレンズ位置を求めるとともに各々の信頼性を評価する。各々のAF評価値及びその信頼性から水平非加算の読み出しモードでのAFが可能かを判断し、可能と判断された場合は水平非加算の読み出しモードで比較的細かい間隔で詳細スキャンを行い、低域から高域まで複数のBPFにおけるAF評価値の取得を行う。そして、各々のAF評価値からその値が最大となるフォーカスレンズ位置を求めると同時に各々の信頼性を評価し、最高域の信頼性が高い場合はその結果得られたAF評価値よりフォーカスレンズ群3のピーク位置を選択し、合焦位置とする。水平非加算の読み出しモードで詳細スキャンの結果、最高域の信頼性が低い場合は、信頼性の高いAF評価値信号を得たBPFの結果にBP補正量(ベストピント補正量)を加味した位置を合焦位置とする。   Therefore, in the present invention, first, scanning is performed at a relatively rough interval using a readout mode capable of high-speed readout that performs horizontal pixel addition, and AF evaluation values are acquired with a plurality of BPFs from a low range to a high range. From each AF evaluation value, the focus lens position where the value becomes maximum is obtained and each reliability is evaluated. From each AF evaluation value and its reliability, it is judged whether AF in horizontal non-addition readout mode is possible, and if it is judged to be possible, detailed scanning is performed at relatively fine intervals in horizontal non-addition readout mode, Acquisition of AF evaluation values in a plurality of BPFs from low to high. Then, the focus lens position where the value is maximized is obtained from each AF evaluation value, and at the same time, each reliability is evaluated. If the reliability in the highest range is high, the focus lens group is obtained from the AF evaluation value obtained as a result. 3 peak position is selected as the in-focus position. When the reliability of the highest range is low as a result of the detailed scan in the horizontal non-addition readout mode, the position obtained by adding the BP correction amount (best focus correction amount) to the BPF result obtained with the highly reliable AF evaluation value signal Is the in-focus position.

また、比較的粗い間隔のスキャンの結果から水平非加算の読み出しモードでのAFが不可能と判断された場合は、水平加算の読み出しモードで比較的細かい間隔で詳細スキャンを行い、低域から高域まで複数のBPFにおけるAF評価値の取得を行う。その結果得られた信頼性の高いAF評価値信号を得たBPFのうち、最も高域に設定されたBPFにより得られたAF評価値によるフォーカスレンズ群3のピーク位置を求め、それにBP補正量を加味した位置を合焦位置とする。   Also, if it is determined that AF in the horizontal non-addition readout mode is impossible from the result of scanning at a relatively coarse interval, a detailed scan is performed at relatively fine intervals in the horizontal addition readout mode. AF evaluation values in a plurality of BPFs are acquired up to the area. Of the BPFs obtained as a result of the AF evaluation value signal having high reliability, the peak position of the focus lens group 3 is obtained by the AF evaluation value obtained by the BPF set at the highest frequency, and the BP correction amount is obtained. The position that takes into account the focus position.

ここで、BP補正量とは、空間周波数の違いによる結像位置の差を補正し空間周波数の高い被写体に対して合焦させるための補正量である。フォーカスレンズの特性情報により、高い空間周波数の被写体と低い周波数の被写体の結像位置が異なることがある。この場合は空間周波数の高い被写体に対してピントを合わせれば、様々空間周波数を持つ被写体全体に合焦させることができる。なぜなら、空間周波数の高い被写体は少しのピント位置のずれでもぼけたと感じるが、空間周波数の低い被写体の場合は多少ずれてもぼけたと感じないからである。よってAF評価値の取得が低域の周波数帯になる場合は最終的なフォーカスレンズ制御位置の補正が必要となる。具体的には、AF評価値の取得に用いた周波数帯における結像位置と高域の周波数帯の結像位置の差をBP補正量として持ち、取得されたAF評価値のピーク位置にこのBP補正量を加えた位置を合焦位置とし、フォーカスレンズを制御する。   Here, the BP correction amount is a correction amount for correcting a difference in image formation position due to a difference in spatial frequency and focusing on a subject having a high spatial frequency. Depending on the characteristic information of the focus lens, the imaging position of a high spatial frequency subject and a low frequency subject may differ. In this case, by focusing on a subject having a high spatial frequency, it is possible to focus on the entire subject having various spatial frequencies. This is because an object with a high spatial frequency feels blurred even with a slight focus position shift, but an object with a low spatial frequency does not feel blurred even with a slight shift. Therefore, when the AF evaluation value is acquired in a low frequency band, it is necessary to finally correct the focus lens control position. Specifically, the difference between the imaging position in the frequency band used for acquiring the AF evaluation value and the imaging position in the high frequency band is used as a BP correction amount, and the BP is set at the peak position of the acquired AF evaluation value. The position where the correction amount is added is set as the in-focus position, and the focus lens is controlled.

このBP補正量は撮影レンズ鏡筒の特性によって決まるため、BPFの透過率が最大となる周波数が異なると異なることが一般的であり、また撮影レンズ鏡筒の焦点距離や撮影距離などによっても異なることがある。そこで使用するBPF毎に撮影レンズ鏡筒の焦点距離や撮影距離に応じた補正量をデータとして不図示のメモリーに記録している。例えば、BPFの設定は、入力信号に対して10%、20%、40%、50%、水平3画素加算の場合は、3.3%、6.7%、13.3%、16.7%にその透過率のピークがあるようなBPFを選択するようにする。   Since this BP correction amount is determined by the characteristics of the photographic lens barrel, it is generally different when the frequency at which the BPF transmittance is maximized is different, and also varies depending on the focal length, photographic distance, etc. of the photographic lens barrel. Sometimes. Therefore, for each BPF used, a correction amount corresponding to the focal length of the photographic lens barrel and the photographic distance is recorded as data in a memory (not shown). For example, the BPF setting is 10%, 20%, 40%, 50% with respect to the input signal, and 3.3%, 6.7%, 13.3%, 16.7 in the case of horizontal three-pixel addition. The BPF is selected so that the transmittance peak is in%.

次いで具体的な動作手順について、図6を用いて説明する。スキャンAFの処理が開始されると、まずステップS601において、撮影時の照度が所定の照度より明るいかどうかを確認する。所定の照度より暗い場合(第2の照度)はステップS620へ、明るい場合(第1の照度)はステップS602へ進む。この所定の照度は非加算読み出しにおいてAF評価値のピークを検出するのに十分な信号が得られる明るさとすれば良い。この判定にはAE処理回路13の出力を用いる。   Next, a specific operation procedure will be described with reference to FIG. When the scan AF process is started, first, in step S601, it is confirmed whether or not the illuminance at the time of shooting is brighter than a predetermined illuminance. When it is darker than the predetermined illuminance (second illuminance), the process proceeds to step S620, and when bright (first illuminance), the process proceeds to step S602. The predetermined illuminance may be set to a brightness at which a signal sufficient to detect the peak of the AF evaluation value in non-addition readout is obtained. For this determination, the output of the AE processing circuit 13 is used.

上述のように、低照度では高域の信号にはセンサーや回路系において重畳されるノイズが含まれ偽の信号を発生させることがあるため、偽の信号が生じない十分な信号が得られる照度がない場合は、非加算読み出しにおいてAF評価値のピークを検出できない可能性が高い。よって、低照度の場合は、非加算読み出しを用いない(制限する)処理を行うため、ステップS620へ進む。   As described above, at low illuminance, high-frequency signals include noise superimposed on sensors and circuit systems, and may generate false signals, so that sufficient illuminance can be obtained without generating false signals. If there is no error, there is a high possibility that the peak of the AF evaluation value cannot be detected in non-addition readout. Therefore, in the case of low illuminance, the process proceeds to step S620 in order to perform processing that does not use (limit) non-addition readout.

ステップS620では、センサーの読み出しモードを変更する。LCD表示用の消費電力を考慮した読み出しモードから、低照度時にスキャンAFを行うための読み出しモードに変更する。この読み出しモードは低照度時においても出力信号のSN比が高くなるように画素加算を行い、読み出しライン数を多くしている。例えば、LCD表示用の約30fps、水平3画素垂直2画素加算、読み出しライン数347ラインの読み出しモードから、低照度時にスキャンAF用の30fps、水平3画素垂直3画素加算、読み出しライン数1018ラインの読み出しモードに変更する。それに伴い必要ならセンサーの駆動周波数も変更する。   In step S620, the sensor reading mode is changed. The readout mode considering power consumption for LCD display is changed to a readout mode for performing scan AF at low illumination. In this readout mode, the number of readout lines is increased by performing pixel addition so that the SN ratio of the output signal becomes high even at low illuminance. For example, from a readout mode of about 30 fps for LCD display, horizontal 3 pixels, vertical 2 pixels addition, and readout line number 347 lines, scan AF 30 fps, horizontal 3 pixels, vertical 3 pixels addition, readout line number 1018 lines at low illuminance Change to read mode. Accordingly, the drive frequency of the sensor is also changed if necessary.

一方、ステップS602では、LCD表示用の消費電力を考慮した読み出しモードから、高速の読み出しモードに変更する。例えば、LCD表示用の約30fpsの読み出しモードから、高速スキャンAF用の120fpsの読み出しモードに変更する。それに伴い必要であればセンサーの駆動周波数も変更する。   On the other hand, in step S602, the reading mode considering the power consumption for LCD display is changed to the high-speed reading mode. For example, the readout mode is changed from about 30 fps for LCD display to 120 fps for high-speed scan AF. Accordingly, the drive frequency of the sensor is also changed if necessary.

次に、ステップS603で被写体のコントラストを判定し、コントラストが高ければステップS604へ、コントラストが低ければステップS621へ進む。コントラストが低い場合は、AF評価値を生成するための信号量が減るため、低照度の場合と同様に高域の信号にはセンサーや回路系において重畳されるノイズが相対的に増え、偽の信号を発生させることがある。この場合は非加算読み出しにおいてAF評価値のピークを検出できない可能性が高い。よって非加算読み出しを用いない処理を行うため、ステップS621へ進む。このコントラストの判定には、AF処理回路14で求められる評価値のうち、AF枠内のライン毎にハイパスフィルター(HPF)処理を施す前の信号値の最大値と最小値の差を求め、その中で最大のものを抽出した値を用いることにする。コントラストの高低は、上記信号値の最大値と最小値の差が所定の値より高いか否かで判定する。   Next, in step S603, the contrast of the subject is determined. If the contrast is high, the process proceeds to step S604, and if the contrast is low, the process proceeds to step S621. When the contrast is low, the amount of signal for generating the AF evaluation value is reduced. Therefore, as in the case of low illuminance, the high-frequency signal has a relatively increased noise superimposed on the sensor or circuit system, which is a false signal. May generate a signal. In this case, there is a high possibility that the peak of the AF evaluation value cannot be detected in non-addition readout. Therefore, in order to perform processing that does not use non-addition reading, the process proceeds to step S621. For the determination of the contrast, among the evaluation values obtained by the AF processing circuit 14, the difference between the maximum value and the minimum value of the signal value before performing the high pass filter (HPF) processing is obtained for each line in the AF frame. The value obtained by extracting the largest one is used. The contrast level is determined by whether or not the difference between the maximum value and the minimum value of the signal value is higher than a predetermined value.

ステップS604では、第一スキャン(第1のスキャン動作)を行う。第一スキャンは水平加算の読み出しモード(第1のモード)で行う。このスキャンにおいては、スキャン間隔は、高速に非加算の読み出しでスキャンを行う際のスキャン範囲を確定するのに十分なAF評価値を得るための間隔とする。例えば、開放F値における焦点深度の5倍(以下5深度と称す)以上15倍(以下15深度と称す)以下のフォーカスレンズ群3駆動機構の最高速で達成できる間隔とする。この際は加減速駆動を行ってもよい。スキャン間隔が15深度を超える場合は、第一スキャンで得たAF評価値から求めたAF評価値のピーク位置の誤差が大きくなり、非加算の読み出しでのスキャン範囲が広くなり高速化が達成できない可能性がある。逆にスキャン間隔が5深度未満の場合は、この第一スキャンの時間が長くなってしまう。   In step S604, a first scan (first scan operation) is performed. The first scan is performed in a horizontal addition readout mode (first mode). In this scan, the scan interval is an interval for obtaining an AF evaluation value sufficient to determine a scan range when performing a scan by non-addition readout at high speed. For example, the distance can be achieved at the highest speed of the focus lens group 3 drive mechanism, which is 5 times (hereinafter referred to as 5 depths) or more and 15 times (hereinafter referred to as 15 depths) or less of the focal depth at the open F value. In this case, acceleration / deceleration driving may be performed. When the scan interval exceeds 15 depths, the error in the peak position of the AF evaluation value obtained from the AF evaluation value obtained in the first scan becomes large, the scan range in non-addition readout becomes wide, and high speed cannot be achieved. there is a possibility. On the other hand, when the scan interval is less than 5 depths, the time of this first scan becomes long.

スキャン間隔が決定されたら、CPU15は、まず第ニモータ駆動回路19を介してフォーカス駆動モータ22を制御することで、フォーカスレンズ群3を図4「A」へ最高速で駆動する。ついで、図4「A」から「B」へフォーカスレンズ群3を駆動し、上記のようにして定めた所定のスキャン間隔で設定された複数のBPF毎にAF評価値を取得する。そして取得されたAF評価値からBPF毎にそれが最大になる位置(図4における「C」)及びその信頼性を求める。   When the scan interval is determined, the CPU 15 first controls the focus drive motor 22 via the second motor drive circuit 19 to drive the focus lens group 3 at the highest speed in FIG. 4A. Next, the focus lens group 3 is driven from “A” to “B” in FIG. 4, and an AF evaluation value is acquired for each of a plurality of BPFs set at a predetermined scan interval determined as described above. And the position ("C" in FIG. 4) where it becomes the maximum for every BPF and its reliability are calculated | required from the acquired AF evaluation value.

そして、ステップS605において、第一スキャン結果から水平非加算の読み出しモード(第2のモード)でのAFが可能かを判断し、可能と判断された場合はステップS606からステップS607へ、可能と判断されなかった場合はステップS630へ進む。   In step S605, it is determined from the first scan result whether or not AF in the horizontal non-addition readout mode (second mode) is possible. If it is determined that AF is possible, it is determined from step S606 to step S607. If not, the process proceeds to step S630.

水平非加算の読み出しモードでのAF(第二スキャン)が可能か否かの判断は以下のように行う。第一スキャンにおけるBPFの設定は、その透過率がピークとなる周波数が比較的高域に設定されたBPFの透過率がピークとなる実際の周波数と、第二スキャンにおいて比較的低域側に設定されたBPFの透過率がピークとなる実際の周波数が略一致するようになされている。例えば、第一スキャンにおいて、BPFの設定を入力信号に対して10%、20%、40%、50%に透過率のピークとなるように設定すれば、水平3画素加算の場合は、3.3%、6.7%、13.3%、16.7%にその透過率のピークがあるような設定となる。そして第二スキャンにおいて、BPFの設定を入力信号に対して13%、17%、33%、50%に透過率のピークとなるように設定すれば、第一スキャンの高域側の2つのBPFと、第二スキャンの低域側の2つのBPFの透過率がピークとなる周波数は略一致する。このようにBPFを設定しておき、各BPFで得られたAF評価値とその信頼性から第二スキャンが可能かを判断する。   Whether or not AF (second scan) in the horizontal non-addition readout mode is possible is determined as follows. The BPF setting in the first scan is set to the actual frequency in which the transmittance of the BPF is set to a relatively high frequency, and the BPF is set to a relatively low frequency in the second scan. The actual frequency at which the transmittance of the BPF thus obtained reaches a peak substantially matches. For example, in the first scan, if the BPF setting is set so that the transmittance peaks at 10%, 20%, 40%, and 50% with respect to the input signal, then in the case of horizontal three-pixel addition, 3. The transmission peak is set at 3%, 6.7%, 13.3%, and 16.7%. In the second scan, if the BPF setting is set so that the transmittance peaks at 13%, 17%, 33%, and 50% with respect to the input signal, two BPFs on the high frequency side of the first scan And the frequency at which the transmittance of the two BPFs on the low frequency side of the second scan peaks substantially coincide. In this way, the BPF is set, and it is determined whether the second scan is possible from the AF evaluation value obtained by each BPF and its reliability.

まず、第一スキャン高域側の2つのBPFで得られたAF評価値の信頼性がともに所定値より高いことが条件になる。この信頼性が低い場合は、この帯域における被写体からの信号成分が少ないことを表わしている。第二スキャンではこの高域側と同等もしくはそれより高域の信号を用いてAF評価値を生成するので、第二スキャンの各BPFから得られるAF評価値からは高い信頼性が得られないことになり、合焦位置を求めることができない。   First, it is a condition that the reliability of AF evaluation values obtained by the two BPFs on the first scan high frequency side is higher than a predetermined value. When the reliability is low, it indicates that the signal component from the subject in this band is small. In the second scan, the AF evaluation value is generated using a signal equivalent to or higher than the high frequency side, so that high reliability cannot be obtained from the AF evaluation value obtained from each BPF of the second scan. Thus, the in-focus position cannot be obtained.

更に第二スキャンを行うためには、第一スキャン高域側のAF評価値出力が第一スキャン低域側の出力より高いことが必要となる。高域側の出力の方が高いということは、第一スキャンの高域側の周波数に対応する被写体があることを示す。この被写体は更に高い周波数を含んでいる可能性があるので、第二スキャンを行い、高域の周波数被写体に対するAF評価値のピークから合焦位置を求めることは有意義である。少なくとも第二スキャンにおける低域側の周波数に対応する被写体は存在するので、第二スキャンで信頼性の高いAF評価値を得ることができる。   Furthermore, in order to perform the second scan, it is necessary that the AF evaluation value output on the first scan high frequency side is higher than the output on the first scan low frequency side. The higher output on the high frequency side indicates that there is a subject corresponding to the frequency on the high frequency side of the first scan. Since this subject may contain a higher frequency, it is meaningful to perform the second scan and obtain the focus position from the peak of the AF evaluation value for the high-frequency subject. Since there is a subject corresponding to at least the low frequency in the second scan, a highly reliable AF evaluation value can be obtained in the second scan.

逆に、低域側の出力が高い場合は、高域側のBPFで求めたAF評価値の信頼性が高くとも、低域の周波数に対応する被写体が支配的な事を示している。この場合は第二スキャンの高域側のBPFで得られるAF評価値の信頼性が高いことは期待できず、第二スキャンを行った場合は低域側のBPFで得られるAF評価値を用いて合焦位置を求めることになる。この場合は、第二スキャンを行うことで、読み出しモード切り替えの時間的ロスが生じ、読み出しレートが第一スキャンで用いるモードより遅くなる等のデメリットがあるため、第二スキャンは行わない。   Conversely, when the output on the low frequency side is high, it indicates that the subject corresponding to the low frequency is dominant even if the AF evaluation value obtained by the BPF on the high frequency side is highly reliable. In this case, it cannot be expected that the AF evaluation value obtained by the BPF on the high frequency side of the second scan is high, and the AF evaluation value obtained by the BPF on the low frequency side is used when the second scan is performed. To obtain the in-focus position. In this case, the second scan is not performed because there is a demerit in that the second scan performs a time loss in switching the read mode and the read rate becomes slower than the mode used in the first scan.

ステップS606で第二スキャンが可能と判断された場合は、ステップS607において、センサーの読み出しモードを変更する。第一スキャンAFで用いた高速の読み出しモードから、高域の周波数に対応する被写体の合焦位置を求めるための水平非加算の読み出しモードに変更する。例えば、水平非加算の30fpsの読み出しモードに変更する。同時に、センサー読み出しモード変更に伴う露出の変更を行う。第一スキャンにおいて水平3画素加算の読み出しモードを用い、その際の垂直画素加算素が1画素(非加算)の場合は合計3画素を加算していたことになる。第二スキャンでの水平非加算の読み出しモードの垂直加算数が1画素(非加算)の場合は合計加算数が1画素なので、第二スキャンでは第一スキャンに比べて3倍の露光量が必要となる。   If it is determined in step S606 that the second scan is possible, the sensor reading mode is changed in step S607. The high-speed readout mode used in the first scan AF is changed to a non-horizontal addition readout mode for obtaining the in-focus position of the subject corresponding to the high frequency. For example, the readout mode is changed to a horizontal non-addition 30 fps readout mode. At the same time, the exposure is changed according to the sensor readout mode change. In the first scan, when the horizontal three-pixel addition readout mode is used and the vertical pixel addition element at that time is one pixel (non-addition), a total of three pixels are added. When the vertical addition number in the horizontal non-addition readout mode in the second scan is 1 pixel (non-addition), the total addition number is 1 pixel, so the second scan requires an exposure amount three times that in the first scan. It becomes.

そこで、図7のプログラム線図に従い露出を変更する。プログラム線図は、その上限が絞り4の最小径、電子シャッターの最速値で適正となる輝度である。この輝度はセンサーの感度によるが、水平非加算の読み出しモードの感度をISO100相当、絞り4の最小径=F8、電子シャッターの最速値=1/2000秒、とするとLv17となる。これがプログラム線図の追従限界となる。よってLv17以上では露出はAv=F8(Av値=6)、Tv=1/2000秒(Tv値=11)となる。このポイントから輝度が下がるごとに開放絞りまでAv値を減じていく。開放絞りに達したならば、輝度が下がるにつれTv値を減じていく。そしてシャッター速度の下限(非加算読み出しの場合はTv値=5=1/30秒)に達した時点からはデジタルゲインを掛けていく。但しこのゲイン量にも限度を設けている。   Therefore, the exposure is changed according to the program diagram of FIG. In the program diagram, the upper limit is appropriate luminance with the minimum diameter of the diaphragm 4 and the fastest value of the electronic shutter. Although this luminance depends on the sensitivity of the sensor, if the horizontal non-addition readout mode sensitivity is equivalent to ISO 100, the minimum diameter of the diaphragm 4 is F8, and the fastest electronic shutter speed is 1/2000 seconds, then Lv17. This becomes the tracking limit of the program diagram. Therefore, at Lv17 or higher, the exposure is Av = F8 (Av value = 6) and Tv = 1/2000 seconds (Tv value = 11). Every time the luminance decreases from this point, the Av value is decreased to the full aperture. If the maximum aperture is reached, the Tv value is decreased as the brightness decreases. Then, the digital gain is applied from the time when the lower limit of the shutter speed (Tv value = 5 = 1/30 seconds in the case of non-addition readout) is reached. However, there is a limit to this gain amount.

水平加算の読み出しモードの場合も同様であるが、加算して感度が上がっている分、同じ輝度においての適正露出になるTv値・Av値・ゲイン量が異なる。例えば、水平3画素加算読み出しの場合は非加算読み出しの3倍の感度になるので非加算読み出しの感度がISO100相当なら、ISO300相当となる。よってプログラム線図の追従限界がLv=15.41(=17−LOG(300/100))となる。また、感度が上がっている分SN比の向上が見込めるので、Tv値が大きい(シャッター速度が速い)時点でゲインを掛けるようにしている。例えば、Tv値=7(=1/120秒)でゲインをかけ始め、最大ゲイン量の半分(例えば2.5段)掛けた時点から再びTv値を減じていく。そしてシャッター速度の下限(Tv値=5=1/30秒)に達した時点からはデジタルゲインを掛けていく。 The same applies to the readout mode of horizontal addition, but the Tv value, Av value, and gain amount that achieve appropriate exposure at the same luminance are different because the sensitivity is increased by addition. For example, in the case of horizontal three-pixel addition readout, the sensitivity is three times that of non-addition readout, so if the sensitivity of non-addition readout is equivalent to ISO 100, it is equivalent to ISO 300. Therefore, the following limit of the program diagram is Lv = 15.41 (= 17−LOG 2 (300/100)). Further, since the S / N ratio can be improved as the sensitivity increases, a gain is applied when the Tv value is large (the shutter speed is fast). For example, the gain is started to be applied when the Tv value = 7 (= 1/120 seconds), and the Tv value is decreased again from the time when the gain is multiplied by half (for example, 2.5 steps). The digital gain is applied from the time when the lower limit of the shutter speed (Tv value = 5 = 1/30 seconds) is reached.

露出の変更はこの感度差を考慮して行う。水平3画素加算の読み出しモードから水平非加算の読み出しモードに変更した場合は、より多くの露光を必要とするので、Tv値・Av値のいずれかを減ずるか、ゲインを感度差分掛けることになる。もしTv値が上限値になる輝度の場合は、Av値を1.59減ずる。変更前のAv値がAv0の場合はAv0−1.59にAv値を変更する。但し、Av値が開放F値に達した場合は、残りの変更量はTv値にて行う。Av0−1で開放F値に達したならば、Tv値を−0.59する。Av値が開放F値でゲインが掛かっていない場合は、Tv値を1.59減ずる。但し、Tv値が下限に達した場合は、残りの変更量はゲインにて行う。1段Tv値を下げた時点で下限に達したならば、ゲインを1.5倍掛ける。ゲインが掛かっている状態の輝度の場合は、ゲイン量を3倍にし、更にゲインを掛ける。但しゲイン量の限度に達した場合は、それ以上ゲインは掛けない。   The exposure is changed in consideration of this sensitivity difference. When the horizontal three-pixel addition readout mode is changed to the horizontal non-addition readout mode, more exposure is required, so either the Tv value or the Av value is reduced or the gain is multiplied by the sensitivity difference. . If the luminance is such that the Tv value is the upper limit value, the Av value is reduced by 1.59. If the Av value before change is Av0, the Av value is changed to Av0-1.59. However, when the Av value reaches the open F value, the remaining change amount is performed by the Tv value. If the open F value is reached at Av0-1, the Tv value is reduced to -0.59. If the Av value is the open F value and no gain is applied, the Tv value is reduced by 1.59. However, when the Tv value reaches the lower limit, the remaining change amount is performed by gain. If the lower limit is reached when the first stage Tv value is lowered, the gain is multiplied by 1.5. In the case of luminance in a state where gain is applied, the gain amount is tripled and further gain is applied. However, if the gain limit is reached, no further gain is applied.

また、水平加算読み出しと水平非加算読み出しでゲインを掛けるTv値を異ならせている輝度の場合は、Av値は開放F値のまま変わらないが、Tv値とゲインを変えることになる。例えば、Av値=3(F2.8)、Tv値=7(=1/120秒)、ゲイン=3段(8倍)の場合、Av値=3(F2.8)、Tv値=5(=1/30秒)、ゲイン=2.59段(約6倍)に変更する(図8参照)。   In addition, in the case of luminance in which the Tv value multiplied by the gain is different between horizontal addition reading and horizontal non-addition reading, the Av value remains the open F value, but the Tv value and gain are changed. For example, when Av value = 3 (F2.8), Tv value = 7 (= 1/120 seconds), and gain = 3 steps (8 times), Av value = 3 (F2.8), Tv value = 5 ( = 1/30 seconds), gain is changed to 2.59 stages (about 6 times) (see FIG. 8).

CMOSセンサーの場合、読み出し速度を速くするために画素加算ではなく複数画素の平均を取り、水平方向の出力画素数を減らす場合がある。今は説明を分かりやすくするために、画素平均をとる読み出しモードを水平加算読み出しモード、画素平均をとらない読み出しモードを水平非加算読み出しモードと称することにする。また高域の周波数の情報が失われることは同じである。この場合は必要となる露光量は変わらないが、信号の生成に関わる画素数が減ることでSN比の低下が懸念される。そこで、非加算読み出しの場合はTv値がより小さく(シャッター速度が遅く)なってからゲインを掛けるようにしている。例えば、水平加算読み出しはTv値=7(=1/120秒)でゲインをかけ始め、最大ゲイン量の半分(例えば2.5段)掛けた時点から再びTv値を減じていく。そしてシャッター速度の下限(Tv値=5=1/30秒)に達した時点からはデジタルゲインを掛けていく。水平非加算読み出の場合はTv値=5=1/30秒に達した時点からはデジタルゲインを掛けていく。   In the case of a CMOS sensor, in order to increase the reading speed, an average of a plurality of pixels may be taken instead of pixel addition to reduce the number of output pixels in the horizontal direction. For the sake of easy understanding, a reading mode that takes a pixel average is called a horizontal addition reading mode, and a reading mode that does not take a pixel average is called a horizontal non-addition reading mode. It is the same that high frequency information is lost. In this case, the required exposure amount does not change, but there is a concern that the S / N ratio may decrease due to a decrease in the number of pixels involved in signal generation. Therefore, in the case of non-additive reading, the gain is applied after the Tv value becomes smaller (the shutter speed is slow). For example, in the horizontal addition reading, gain is applied at a Tv value = 7 (= 1/120 seconds), and the Tv value is decreased again from the time when the gain is multiplied by half (for example, 2.5 stages). The digital gain is applied from the time when the lower limit of the shutter speed (Tv value = 5 = 1/30 seconds) is reached. In the case of horizontal non-addition readout, the digital gain is multiplied from the time when Tv value = 5 = 1/30 seconds.

次に、ステップS608において、第二スキャン(第2のスキャン動作)を行って得られたAF評価値から合焦位置を求める。第二スキャン間隔は、5深度以下の適当な間隔に設定される。ここでは第二スキャンが可能と判断されているため、高域の2つのBPFで得られたAF評価値の信頼性がともに高いので、第一スキャンで設定された最高域のBPFで得られたAF評価値が最大になる位置が求められている。そこで、この最大値と最大値に隣接するスキャンポイントにおける最高域のBPFで得られたAF評価値の差からスキャン間隔を求める。   In step S608, the in-focus position is obtained from the AF evaluation value obtained by performing the second scan (second scan operation). The second scan interval is set to an appropriate interval of 5 depths or less. Here, since it is determined that the second scan is possible, the reliability of the AF evaluation values obtained with the two high-frequency BPFs is high, so the high-frequency BPF set in the first scan was obtained. A position where the AF evaluation value is maximized is obtained. Therefore, the scan interval is obtained from the difference between the maximum value and the AF evaluation value obtained by the highest BPF at the scan point adjacent to the maximum value.

最大値をAF枠内のライン数で正規化した値をd[i]、隣接するスキャンポイントでのAF評価値をAF枠内のライン数で正規化した値をd[i−1]、d[i+1]、AF枠内のライン毎にBPF処理を施す前の信号値の最大値と最小値の差を求め、その中で最大のものを抽出した値をMMとする。
Δ=max(d[i]−d[i−1]、d[i]−d[i+1])÷MM(但しmax(a,b)はa,bの最大値を選択する関数)を求める。この値は、AF評価値のピーク位置付近の勾配を被写体のコントラストで正規化した値である。この値が大きいということは、ピーク位置付近のみにAF評価値がある程度の値を示し、そこから離れたスキャンポイントではAF評価値の値が非常に小さいことを示している。これは空間周波数の高い被写体が支配的であることを示している。逆にこの値が小さい場合はピーク位置から離れたスキャンポイントでもAF評価値の値がある程度あることを示している。これは空間周波数の低い被写体が存在することを示している。
The value obtained by normalizing the maximum value by the number of lines in the AF frame is d [i], and the value obtained by normalizing the AF evaluation value at the adjacent scan point by the number of lines in the AF frame is d [i−1], d. [I + 1], the difference between the maximum value and the minimum value of the signal value before BPF processing is obtained for each line in the AF frame, and the value obtained by extracting the maximum value among them is defined as MM.
Δ = max (d [i] −d [i−1], d [i] −d [i + 1]) ÷ MM (where max (a, b) is a function for selecting the maximum value of a and b) . This value is a value obtained by normalizing the gradient near the peak position of the AF evaluation value with the contrast of the subject. A large value indicates that the AF evaluation value shows a certain value only in the vicinity of the peak position, and the AF evaluation value is very small at a scan point away from the AF evaluation value. This indicates that a subject having a high spatial frequency is dominant. Conversely, when this value is small, it indicates that there is some AF evaluation value even at a scan point away from the peak position. This indicates that there is a subject with a low spatial frequency.

そこで、Δの値が大きいほどスキャン間隔を細かく設定するようにする。例えば、以下のように設定する。
Δ>Δ1.5:開放深度(1深度)
1.5≧Δ>1:開放深度の2倍(2深度)
1≧Δ>0.5:開放深度の3倍(5深度)
0.5≧Δ:開放深度の5倍(5深度)
スキャン範囲は、第一スキャンで設定された最高域のBPFで得られたAF評価値が最大になる位置を求める際の誤差、AF評価値を求める際に用いるBPFの周波数特性の違いからくるAF評価値のピーク位置のずれを考慮して決める。ピーク位置を求める際の誤差は主に第一スキャンのスキャン間隔で決まる。誤差はスキャン間隔の半分程度である。もし10深度間隔でスキャンしているのであれば、5深度程度を見込めば良い。BPFの周波数特性の違いからくるAF評価値のピーク位置のずれは、撮影レンズ鏡筒31の光学特性による。設計上の公差から、第一スキャンの最高域のBPFにおけるAF評価値のピーク位置と、第二スキャンの最高域のBPFにおけるAF評価値のピーク位置の差を求めることで得られる。この量は同じ設計の鏡筒でも製造上の誤差によって光学特性は異なるので、撮影レンズ鏡筒31を構成する各光学要素の製造上の誤差と設計値を基にシミュレーションによって求められる。設計値通りに製造された場合に対して、各光学要素がこの差が繰り出し側に変位する側に誤差を持った場合と、繰り込み側に変位する側に誤差を持った場合をシミュレーションすれば良い。
Therefore, the larger the value of Δ, the finer the scan interval is set. For example, the setting is as follows.
Δ> Δ1.5: Opening depth (1 depth)
1.5 ≧ Δ> 1: twice the open depth (2 depths)
1 ≧ Δ> 0.5: 3 times the open depth (5 depths)
0.5 ≧ Δ: 5 times the open depth (5 depths)
The scan range is determined by an error in obtaining a position where the AF evaluation value obtained by the highest BPF set in the first scan is maximized, and an AF resulting from a difference in frequency characteristics of the BPF used in obtaining the AF evaluation value. Determined by taking into account the deviation of the peak position of the evaluation value. The error in obtaining the peak position is mainly determined by the scan interval of the first scan. The error is about half of the scan interval. If you are scanning at 10-depth intervals, you can expect about 5 depths. The shift of the peak position of the AF evaluation value resulting from the difference in the frequency characteristics of the BPF is due to the optical characteristics of the photographing lens barrel 31. From the design tolerance, it is obtained by obtaining the difference between the peak position of the AF evaluation value in the BPF in the highest region of the first scan and the peak position of the AF evaluation value in the BPF in the highest region of the second scan. This amount is obtained by simulation based on manufacturing errors and design values of the optical elements constituting the photographing lens barrel 31 because optical characteristics differ depending on manufacturing errors even in the same designed lens barrel. What is necessary is to simulate the case where each optical element has an error on the side where the difference is displaced to the feeding side and the case where the optical element has an error on the side displaced to the feeding side, compared to the case where the optical element is manufactured as designed. .

例えば、設計値通りに撮影レンズ鏡筒31が製造された場合に、第一スキャンの最高域のBPFにおけるAF評価値のピーク位置に対して第二スキャンの最高域のBPFにおけるAF評価値のピーク位置が繰り込み側にX変位する場合である。各光学要素が全て繰り出し側に変位する側に誤差を持った場合は繰り出し側にX―α第二スキャンの最高域のBPFにおけるAF評価値のピーク位置が変位することになる。各光学要素が全て繰り込み側に変位する側に誤差を持った場合は繰り出し側にX+Β第二スキャンの最高域のBPFにおけるAF評価値のピーク位置が変位することになる。   For example, when the photographic lens barrel 31 is manufactured according to the design value, the peak of the AF evaluation value in the BPF in the highest band of the second scan is the peak position of the AF evaluation value in the BPF of the highest band in the first scan. This is a case where the position is X-displaced to the retracting side. When each optical element has an error on the side displaced to the feeding side, the peak position of the AF evaluation value in the BPF in the highest region of the X-α second scan is displaced to the feeding side. If each optical element has an error on the side that is displaced toward the feeding side, the peak position of the AF evaluation value in the BPF in the highest region of the X + Β second scan is displaced toward the feeding side.

この場合のスキャン範囲は、第一スキャンで設定された最高域のBPFで得られたAF評価値が最大になる位置Pに対して、P−X−βからP−X−αの範囲に、第二スキャンで設定された最高域のBPFで得られたAF評価値が最大になる位置は分布することになる。
この様にして求められる2つの要因に、AF評価値のピーク位置を求めるために必要なスキャン分を加えてスキャン範囲とする。すなわち、
P−X−β−第一スキャンのスキャン間隔の2分の1−第二スキャンのスキャン間隔
から
P−X−α+第一スキャンのスキャン間隔の2分の1+第二スキャンのスキャン間隔
をスキャン範囲とする。
The scan range in this case is in the range from PX-β to PX-α with respect to the position P at which the AF evaluation value obtained by the highest BPF set in the first scan is maximum. The position where the AF evaluation value obtained by the highest BPF set in the second scan is maximized is distributed.
The scan range necessary for obtaining the peak position of the AF evaluation value is added to the two factors obtained in this way to obtain the scan range. That is,
PX-β-scan range from 1-second scan interval of the first scan to PX-α + 1/2 of the scan interval of the first scan + scan interval of the second scan And

また、BPFの設定は、高域の被写体の合焦位置を検出するに十分な高域に透過率のピークがあり、かつ高域の被写体のコントラストが不足していても信頼性の高いAF評価値が得られるように設定する。例えば、入力信号に対して10%、20%、40%、50%にその透過率のピークがあるようなBPFを選択するようにすれば良い。   Also, the BPF setting is a highly reliable AF evaluation even when there is a transmittance peak at a high frequency sufficient to detect the in-focus position of the high frequency subject and the contrast of the high frequency subject is insufficient. Set to obtain a value. For example, a BPF having a transmittance peak at 10%, 20%, 40%, or 50% with respect to the input signal may be selected.

上記のスキャン間隔・スキャン範囲・BPFの設定により、フォーカスレンズ群3を制御してAF評価値を取得し、各BPFで得られたAF評価値の信頼性が高いBPFで得られたAF評価値毎にそれが最大になる位置及びその信頼性を求める。最高域の信頼性が高い場合はその結果得られたAF評価値よりフォーカスレンズ群3のピーク位置を求め合焦位置とし、フォーカスレンズ群3をその位置へ制御する。最高域の信頼性が低い場合は、信頼性の高いAF評価値信号を得たBPFのうち最も高域のBPFで得たAF評価値よりフォーカスレンズ群3のピーク位置を求め、その値にそのBPFにおけるBP補正量を加味した位置を合焦位置とし、フォーカスレンズ群3をその位置へ制御する。   The AF evaluation value obtained by controlling the focus lens group 3 and acquiring the AF evaluation value by the setting of the scan interval, the scan range, and the BPF, and the AF evaluation value obtained by each BPF having high reliability. Each time, the position where it is maximized and its reliability are obtained. When the reliability in the highest range is high, the peak position of the focus lens group 3 is obtained from the AF evaluation value obtained as a result, and is set as the in-focus position, and the focus lens group 3 is controlled to that position. When the reliability of the highest region is low, the peak position of the focus lens group 3 is obtained from the AF evaluation value obtained with the highest BPF among the BPFs that have obtained the highly reliable AF evaluation value signal, The position where the BP correction amount in the BPF is added is set as the in-focus position, and the focus lens group 3 is controlled to that position.

ここで、ステップS621以降の処理について説明する。低照度もしくは被写体のコントラストが低いと判定された場合はステップS621〜S622の処理(第四スキャン)が行われる。ステップS621では、スキャン間隔を開放深度の5倍(5深度)程度、スキャン範囲は第一スキャンと同じ(図4「A」から「B」)、BPFの設定は第一スキャンと同じに設定し、フォーカスレンズ群3を制御してスキャンAFを行い、各BPF毎にAF評価値を取得する。そして各BPFで得られたAF評価値の信頼性が高いBPFで得られたAF評価値毎にそれが最大になる位置及びその信頼性を求める。そしてステップS622で信頼性の高いAF評価値信号を得たBPFのうち最も高域のBPFで得たAF評価値よりフォーカスレンズ群3のピーク位置を選択する。選択したピーク位値にそのBPFにおけるBP補正量を加味した位置を合焦位置とし、フォーカスレンズ群3をその位置へ制御する。   Here, the processing after step S621 will be described. When it is determined that the light intensity is low or the contrast of the subject is low, processing in steps S621 to S622 (fourth scan) is performed. In step S621, the scan interval is set to about 5 times the open depth (5 depths), the scan range is the same as the first scan ("A" to "B" in FIG. 4), and the BPF is set to the same as the first scan. The focus lens group 3 is controlled to perform scan AF, and an AF evaluation value is acquired for each BPF. Then, the position where the AF evaluation value obtained with each BPF having the highest reliability of the AF evaluation value obtained with each BPF and the reliability thereof are obtained are obtained. In step S622, the peak position of the focus lens group 3 is selected from the AF evaluation values obtained from the highest BPF among the BPFs that have obtained highly reliable AF evaluation value signals. A position obtained by adding the BP correction amount in the BPF to the selected peak position value is set as an in-focus position, and the focus lens group 3 is controlled to that position.

ここでステップS630以降の処理について説明する。第二スキャンが不可能と判断された場合はステップS630〜S631の処理(第三スキャン)が行われる。ステップS630では、第一スキャンでいずれかのBPFで得られたAF評価値の信頼性が高い場合は、スキャン間隔を開放深度の5倍(5深度)程度に、BPFは第一スキャンと同じに設定する。また、スキャン範囲は第一スキャンの結果得られたAF評価値のうち信頼性が高い最も高域のBPFで得られたAF評価値のピーク位置P1を中心にその前後に設定する。具体的には、ピーク位置P1を中心に、その前後に第一スキャンで設定された最高域のBPFで得られたAF評価値が最大になる位置を求める際の誤差E1と第三スキャンのスキャン間隔R3を加えて設定する。すなわちスキャン範囲はP−E1−R3〜P+E1+R3となる。第一スキャンでいずれかのBPFで得られたAF評価値の信頼性が全て低い場合は、スキャン間隔を開放深度の5倍(5深度)程度に、BPFは第一スキャンと同じに設定する。またスキャン範囲第一スキャンと同じ(図4「A」から「B」)、に設定する。   Here, the processing after step S630 will be described. If it is determined that the second scan is not possible, the processing of steps S630 to S631 (third scan) is performed. In step S630, when the AF evaluation value obtained by any BPF in the first scan is high, the scan interval is set to about five times the open depth (5 depths), and the BPF is the same as the first scan. Set. The scan range is set around the peak position P1 of the AF evaluation value obtained by the highest-reliability BPF among the AF evaluation values obtained as a result of the first scan. Specifically, centering on the peak position P1, the error E1 and the scan of the third scan when obtaining the position where the AF evaluation value obtained by the highest BPF set in the first scan before and after the peak position P1 is maximum. Set by adding an interval R3. That is, the scan range is P-E1-R3 to P + E1 + R3. When the reliability of AF evaluation values obtained with any BPF in the first scan is low, the scan interval is set to about 5 times the open depth (5 depths), and the BPF is set to be the same as the first scan. The scan range is set to be the same as the first scan ("A" to "B" in FIG. 4).

そしてフォーカスレンズ群3を制御してスキャンAFを行い、各BPF毎にAF評価値を取得し、各BPFで得られたAF評価値の信頼性が高いBPFで得られたAF評価値毎にそれが最大になる位置及びその信頼性を求める。そしてステップS631で信頼性の高いAF評価値信号を得たBPFのうち最も高域のBPFで得たAF評価値よりフォーカスレンズ群3のピーク位置を選択する。選択したピーク位値にそのBPFにおけるBP補正量を加味した位置を合焦位置とし、フォーカスレンズ群3をその位置へ制御する。   Then, the focus lens group 3 is controlled to perform scan AF, and an AF evaluation value is obtained for each BPF. For each AF evaluation value obtained by the BPF, the AF evaluation value obtained by each BPF is highly reliable. Find the position where the maximum is and its reliability. In step S631, the peak position of the focus lens group 3 is selected from the AF evaluation values obtained from the highest BPF among the BPFs that have obtained highly reliable AF evaluation value signals. A position obtained by adding the BP correction amount in the BPF to the selected peak position value is set as an in-focus position, and the focus lens group 3 is controlled to that position.

実施例1はコンパクトタイプのデジタルカメラを例に説明したが、本発明は、デジタルビデオカメラやデジタルSLRにも適用可能である。   Although the first embodiment has been described by taking a compact digital camera as an example, the present invention can also be applied to a digital video camera and a digital SLR.

(実施例2)
実施例2は、水平画素非加算の読み出しモードが水平加算モードと同等とみなせる程度高速(例えば、60fps〜120fps)の場合の実施形態である。
(Example 2)
Example 2 is an embodiment in which the horizontal pixel non-addition readout mode is fast enough to be regarded as equivalent to the horizontal addition mode (for example, 60 fps to 120 fps).

実際の撮影動作を図9に示すフローチャートを用いて説明する。なお、実施例1と同じ動作を行う部分は同じ番号を付け詳細な説明は割愛する。   The actual shooting operation will be described with reference to the flowchart shown in FIG. Parts that perform the same operations as in the first embodiment are given the same numbers, and detailed descriptions are omitted.

本撮像装置1の主電源スイッチがオン状態であり、かつ撮像装置の動作モードが撮影(録画)モードにあるときは、撮影処理シーケンスが実行される。図9のステップS901においてLCD表示をした後、ステップS902において、AE処理を実行し被写体の輝度を測定し、AF評価値を取得する際の露出を適にする。   When the main power switch of the imaging apparatus 1 is in the ON state and the operation mode of the imaging apparatus is in the shooting (recording) mode, the shooting process sequence is executed. After displaying the LCD in step S901 in FIG. 9, in step S902, the AE process is executed to measure the luminance of the subject, and the exposure when obtaining the AF evaluation value is optimized.

次いでステップS903において、AF評価値を取得する。なおステップS904でSW1がオンと判定されるまではセンサーの読み出しモードはLCD表示用の消費電力を考慮した読み出しモードであり、例えば読み出し速度が約30fps、水平3画素垂直2画素加算の読み出しモードに設定されている。このステップS903で取得したAF評価値を用いて、ステップS906のスキャンAF処理で用いる読み出しモードやBPFを決定する。   In step S903, an AF evaluation value is acquired. Note that until the SW1 is determined to be on in step S904, the sensor reading mode is a reading mode in consideration of power consumption for LCD display. For example, the reading speed is about 30 fps, and the horizontal three-pixel vertical two-pixel addition reading mode is set. Is set. Using the AF evaluation value acquired in step S903, the readout mode and BPF used in the scan AF process in step S906 are determined.

ステップS904で、SW1(レリーズスイッチの第一ストローク)がオン状態になったことをCPU15が確認すると、S905にて通常のAE処理を実行する。その後、ステップS906において複数のAF評価値を取得し、その結果から合焦位置を検出するためのスキャンAF処理を行う。なおこの処理の詳細については後述する。   In step S904, when the CPU 15 confirms that SW1 (first stroke of the release switch) has been turned on, normal AE processing is executed in S905. Thereafter, a plurality of AF evaluation values are acquired in step S906, and scan AF processing is performed to detect the in-focus position from the result. Details of this processing will be described later.

ステップS906で得られたいずれかのAF評価値の信頼性が十分であれば、ステップS907においてAFOK表示を、全てのAF評価値信号の信頼性が低い場合には、合焦位置の検出は行わずに、ステップS907においてAFNG表示を行う。   If the reliability of any AF evaluation value obtained in step S906 is sufficient, AFOK display is performed in step S907, and if the reliability of all AF evaluation value signals is low, the focus position is detected. In step S907, AFNG display is performed.

CPU15は、ステップS908において、SW2(レリーズスイッチの第ニストローク)の確認を行い、SW2がオンになっていたならば、ステップS909に進み、実際の露光処理を実行する。   In step S908, the CPU 15 confirms SW2 (second stroke of the release switch). If SW2 is turned on, the CPU 15 proceeds to step S909 and executes actual exposure processing.

ここで、ステップS906のスキャンAF処理の詳細について説明する。本実施例においては、SW1前に取得した複数のAF評価値及びその信頼性から水平非加算の読み出しモードでのAFが可能かを判断し、可能と判断された場合は水平非加算の読み出しモードでスキャンを行い、低域から高域まで複数のBPFにおけるAF評価値の取得を行う。そして、各々のAF評価値からその値が最大となるフォーカスレンズ位置を求めると同時に各々の信頼性を評価し、最高域の信頼性が高い場合はその結果得られたAF評価値よりフォーカスレンズ群3のピーク位置を選択し、合焦位置とする。水平非加算の読み出しモードでのスキャンの結果、最高域の信頼性が低い場合は、信頼性の高いAF評価値信号を得たBPFの結果にBP補正量を加味した位置を合焦位置とする。また、比較的粗い間隔のスキャンの結果から水平非加算の読み出しモードでのAFが不可能と判断された場合は、水平加算の読み出しモードでスキャンを行い、低域から高域まで複数のBPFにおけるAF評価値の取得を行う。その結果得られた信頼性の高いAF評価値信号を得たBPFのうち、最も高域に設定されたBPFにより得られたAF評価値によるフォーカスレンズ群3のピーク位置を求め、それにBP補正量を加味した位置を合焦位置とする。   Here, details of the scan AF processing in step S906 will be described. In this embodiment, it is determined whether or not AF is possible in the horizontal non-addition readout mode from a plurality of AF evaluation values acquired before SW1 and its reliability. Scanning is performed to acquire AF evaluation values in a plurality of BPFs from low to high. Then, the focus lens position where the value is maximized is obtained from each AF evaluation value, and at the same time, each reliability is evaluated. If the reliability in the highest range is high, the focus lens group is obtained from the AF evaluation value obtained as a result. 3 peak position is selected as the in-focus position. As a result of scanning in the horizontal non-addition readout mode, if the reliability of the highest range is low, a position obtained by adding a BP correction amount to the BPF result obtained with a highly reliable AF evaluation value signal is set as the in-focus position. . If it is determined from the result of scanning at relatively coarse intervals that AF in the horizontal non-addition readout mode is impossible, scanning is performed in the horizontal addition readout mode, and a plurality of BPFs from low to high are scanned. An AF evaluation value is acquired. Of the BPFs obtained as a result of the AF evaluation value signal having high reliability, the peak position of the focus lens group 3 is obtained by the AF evaluation value obtained by the BPF set at the highest frequency, and the BP correction amount is obtained. The position that takes into account the focus position.

ステップS903、S906におけるBPFの設定は、次のようになされている。ステップS903のAF評価値取得時の透過率がピークとなる周波数が比較的高域に設定されたBPFの透過率がピークとなる実際の周波数と、ステップS906のスキャンにおいて比較的低域側に設定されたBPFの透過率がピークとなる実際の周波数が略一致するようになされている。ここで、ステップS906のスキャンAFは水平非加算の読み出しモードで行われる。例えば、ステップS903のAF評価値の取得において、BPFの設定を入力信号に対して10%、20%、40%、50%に透過率のピークとなるように設定する。そうすれば、LCD表示中の読み出しモードが水平3画素加算の場合は、3.3%、6.7%、13.3%、16.7%にその透過率のピークがあるような設定となる。そしてステップS906のスキャンにおいて、BPFの設定を入力信号に対して13%、17%、33%、50%に透過率のピークとなるように設定すれば、前者のスキャンの高域側の2つのBPFと、後者のスキャンの低域側の2つのBPFの透過率がピークとなる周波数は略一致する。   The setting of the BPF in steps S903 and S906 is performed as follows. The frequency at which the transmittance at the time of AF evaluation value acquisition in step S903 is set to a relatively high frequency is set to a relatively high frequency, and the BPF is set to a relatively low frequency in the scan in step S906. The actual frequency at which the transmittance of the BPF thus obtained reaches a peak substantially matches. Here, the scan AF in step S906 is performed in a horizontal non-addition readout mode. For example, in the acquisition of the AF evaluation value in step S903, the BPF setting is set so that the transmittance peaks at 10%, 20%, 40%, and 50% with respect to the input signal. Then, when the readout mode during LCD display is horizontal three-pixel addition, the transmission peak is set at 3.3%, 6.7%, 13.3%, and 16.7%. Become. In the scan of step S906, if the BPF setting is set so that the transmittance peaks at 13%, 17%, 33%, and 50% with respect to the input signal, the two high-frequency bands of the former scan are set. The frequency at which the transmittance of the BPF and the two BPFs on the low frequency side of the latter scan peak is substantially the same.

次に、具体的な動作手順について、図10を用いて説明する。スキャンAFの処理が開始されると、まずステップS1001において、撮影時の照度を確認する。所定の照度より暗い場合は、ステップS1007へ、明るい場合はステップS1002に進む。この所定の照度は非加算読み出しにおいてAF評価値のピークを検出するのに十分な信号が得られる明るさとする。この判定にはステップS905におけるAE処理回路13の出力を用いる。   Next, a specific operation procedure will be described with reference to FIG. When the scan AF process is started, first, in step S1001, the illuminance at the time of shooting is confirmed. If it is darker than the predetermined illuminance, the process proceeds to step S1007, and if it is bright, the process proceeds to step S1002. The predetermined illuminance is set to such a brightness that a signal sufficient to detect the peak of the AF evaluation value in non-addition readout can be obtained. For this determination, the output of the AE processing circuit 13 in step S905 is used.

ステップS1007では、センサーの読み出しモードを変更する。LCD表示用の消費電力を考慮した読み出しモードから、低照度時にスキャンAFを行うための読み出しモードに変更する。この読み出しモードは低照度時においても出力信号のSN比が高くなるように画素加算を行い、読み出しライン数を多くしている。例えば、LCD表示用の約30fps、水平3画素垂直2画素加算、読み出しライン数347ラインの読み出しモードから、低照度時にスキャンAF用の30fps、水平3画素垂直3画素加算、読み出しライン数1018ラインの読み出しモードに変更する。それに伴い必要ならセンサーの駆動周波数も変更する。同時に、センサー読み出しモード変更に伴う露出の変更を、図7に示した加算読み出しモード用の線図に従い行う。   In step S1007, the sensor reading mode is changed. The readout mode considering power consumption for LCD display is changed to a readout mode for performing scan AF at low illumination. In this readout mode, the number of readout lines is increased by performing pixel addition so that the SN ratio of the output signal becomes high even at low illuminance. For example, from a readout mode of about 30 fps for LCD display, horizontal 3 pixels, vertical 2 pixels addition, and readout line number 347 lines, scan AF 30 fps, horizontal 3 pixels, vertical 3 pixels addition, readout line number 1018 lines at low illuminance Change to read mode. Accordingly, the drive frequency of the sensor is also changed if necessary. At the same time, the exposure change accompanying the sensor readout mode change is performed according to the diagram for the addition readout mode shown in FIG.

次いで、ステップS1002で被写体のコントラストを判定し、コントラストが高ければステップS1003へ、コントラストが低ければステップS1010へ進む。コントラストが低い場合は、AF評価値を生成するための信号量が減るため、低照度の場合と同様に高域の信号にはセンサーや回路系において重畳されるノイズが相対的に増え、偽の信号を発生させることがある。この場合は非加算読み出しにおいてAF評価値のピークを検出できない可能性が高い。よって非加算読み出しを用いない処理を行うため、ステップS1010へ進む。このコントラストの判定には、ステップS903におけるAF処理回路14で求められる評価値のうち、AF枠内のライン毎にハイパスフィルター(HPF)処理を施す前の信号値の最大値と最小値の差を求め、その中で最大のものを抽出した値を用いる。   In step S1002, the subject contrast is determined. If the contrast is high, the process proceeds to step S1003. If the contrast is low, the process proceeds to step S1010. When the contrast is low, the amount of signal for generating the AF evaluation value is reduced. Therefore, as in the case of low illuminance, the high-frequency signal has a relatively increased noise superimposed on the sensor or circuit system, which is a false signal. May generate a signal. In this case, there is a high possibility that the peak of the AF evaluation value cannot be detected in non-addition readout. Therefore, the process proceeds to step S1010 in order to perform processing that does not use non-addition reading. For the determination of the contrast, the difference between the maximum value and the minimum value of the signal value before the high pass filter (HPF) processing is performed for each line in the AF frame among the evaluation values obtained by the AF processing circuit 14 in step S903. Find the maximum value and use it.

ステップS1003では、非加算スキャン(第五スキャン)が可能か否かの判定を行い、可能ならばステップS1004へ、不可能ならステップS1010へ進む。この第五スキャンが可能か否かの判定は、ステップS903で取得したAF評価値を用いて行う。ステップS903では、非加算スキャンの低域側の2つのBPFと自身の高域側の2つのBPFの透過率がピークとなる周波数は略一致するように設定されている。そこで、高域側の2つのBPFの出力が低域側の2つのBPFの出力より高いことが条件になる。但し、合焦位置から大きく外れている場合は、高域のBPFの出力は高域側の周波数に対応する被写体が存在しても非常に小さくなる。そのため、ステップS903においては、SW1前にフォーカスレンズ群3を駆動し複数の位置でAF評価値を取得し、その最大値を判定する際の数値として使用する。なおSW1オンのタイミングが早く、十分にフォーカスレンズ群3を駆動する範囲が確保できなかった場合は、第五スキャン可能と判断するものとする。例えば全スキャン範囲の3分2未満しかフォーカスレンズ群3が駆動されていない場合は、第五スキャン可能と判断するものとする。   In step S1003, it is determined whether or not a non-addition scan (fifth scan) is possible. If possible, the process proceeds to step S1004, and if not possible, the process proceeds to step S1010. Whether the fifth scan is possible is determined using the AF evaluation value acquired in step S903. In step S903, the frequencies at which the transmittances of the two BPFs on the low frequency side of the non-addition scan and the two BPFs on the high frequency side of the non-addition scan peak are set to substantially match. Therefore, it is a condition that the outputs of the two BPFs on the high frequency side are higher than the outputs of the two BPFs on the low frequency side. However, if the position is far from the in-focus position, the output of the high-frequency BPF is very small even if there is a subject corresponding to the high-frequency side. Therefore, in step S903, the focus lens group 3 is driven before SW1, AF evaluation values are acquired at a plurality of positions, and used as numerical values when determining the maximum value. If the timing for turning on SW1 is early and a sufficient range for driving the focus lens group 3 cannot be secured, it is determined that the fifth scan is possible. For example, when the focus lens group 3 is driven for less than 2/3 of the entire scan range, it is determined that the fifth scan is possible.

ステップS1010では、センサーの読み出しモードを変更する。LCD表示用の消費電力を考慮した読み出しモードから、スキャンAFを行うための高速の読み出しモードに変更する。例えば、LCD表示用の約30fpsの読み出しモードから、高速スキャンAF用の120fpsの読み出しモードに変更する。それに伴い必要ならセンサーの駆動周波数も変更する。同時に、センサー読み出しモード変更に伴う露出の変更を、図7に示した加算読み出しモード用に線図に従い行う。   In step S1010, the sensor reading mode is changed. The reading mode considering power consumption for LCD display is changed to a high-speed reading mode for performing scan AF. For example, the readout mode is changed from about 30 fps for LCD display to 120 fps for high-speed scan AF. Accordingly, the drive frequency of the sensor is also changed if necessary. At the same time, the exposure change associated with the sensor readout mode change is performed according to the diagram for the addition readout mode shown in FIG.

ステップS1004でも、センサーの読み出しモードを変更する。LCD表示用の消費電力を考慮した読み出しモードから、非加算スキャンAFを行うための非加算で比較的高速の読み出しモードに変更する。例えば、LCD表示用の約30fpsの読み出しモードから、非加算スキャンAF用の60〜120fpsの読み出しモードに変更する。それに伴い必要ならセンサーの駆動周波数も変更する。同時に、センサー読み出しモード変更に伴う露出の変更を、図7に示した非加算読み出しモード用に線図に従い行う。   Also in step S1004, the sensor reading mode is changed. The readout mode considering the power consumption for LCD display is changed to a non-addition and relatively high-speed readout mode for performing non-addition scan AF. For example, the readout mode is changed from about 30 fps for LCD display to 60 to 120 fps for non-addition scan AF. Accordingly, the drive frequency of the sensor is also changed if necessary. At the same time, the exposure change associated with the sensor readout mode change is performed according to the diagram for the non-additive readout mode shown in FIG.

ステップS1005では、第五スキャンAFを行う。このスキャンでは、スキャン間隔は開放深度の5倍(5深度)程度に、スキャン範囲は設定された撮影モードにおける合焦位置をすべき全範囲(図4「A」から「B」)に設定する。BPFの設定は、低域側の2つがステップS902におけるAF評価値取得時の高域側の2つのBPFと透過率のピークを略一致させ、高域は高域側の周波数に対応する被写体の合焦位置を検出するのに十分高域に透過率のピークを持つ特性に設定する。例えば、ステップS902のAF評価値の取得において、BPFの設定を入力信号に対して10%、20%、40%、50%に透過率のピークとなるように設定する。そうすれば、LCD表示中の読み出しモードが水平3画素加算の場合は、3.3%、6.7%、13.3%、16.7%にその透過率のピークがあるような設定となる。そこで、BPFの設定を入力信号に対して13%、17%、33%、50%に透過率のピークとなるように設定すれば、前者のスキャンの高域側の2つのBPFと、後者のスキャンの低域側の2つのBPFの透過率がピークとなる周波数は略一致する。そして50%に透過率のピークのあるBPFを設定することで高域側の周波数に対応する被写体の合焦位置を検出することが可能になる。   In step S1005, a fifth scan AF is performed. In this scan, the scan interval is set to about 5 times the open depth (5 depths), and the scan range is set to the entire range (“A” to “B” in FIG. 4) that should be the focus position in the set shooting mode. . The BPF is set so that the two low-frequency sides have approximately the same peak in transmittance as the two high-frequency BPFs at the time of AF evaluation value acquisition in step S902, and the high frequency corresponds to the frequency on the high-frequency side. The characteristic is set to have a transmittance peak in a sufficiently high range to detect the in-focus position. For example, in the acquisition of the AF evaluation value in step S902, the BPF setting is set so that the transmittance peaks at 10%, 20%, 40%, and 50% with respect to the input signal. Then, when the readout mode during LCD display is horizontal three-pixel addition, the transmission peak is set at 3.3%, 6.7%, 13.3%, and 16.7%. Become. Therefore, if the BPF is set so that the transmittance peaks at 13%, 17%, 33%, and 50% with respect to the input signal, the two BPFs on the high frequency side of the former scan and the latter The frequencies at which the transmittances of the two BPFs on the low frequency side of the scan peak are substantially the same. By setting a BPF having a transmittance peak at 50%, it is possible to detect the in-focus position of the subject corresponding to the high frequency side.

上記の設定でフォーカスレンズ群3を制御してスキャンAFを行い、BPF毎にAF評価値を取得する。そして取得されたAF評価値からBPF毎にそれが最大になる位置及びその信頼性を求める。最高域の信頼性が高い場合は、その結果得られたAF評価値よりフォーカスレンズ群3のピーク位置を求め合焦位置とし、フォーカスレンズ群3をその位置へ制御する。最高域の信頼性が低い場合は、信頼性の高いAF評価値信号を得たBPFのうち最も高域のBPFで得たAF評価値よりフォーカスレンズ群3のピーク位置を求め、その値にそのBPFにおけるBP補正量を加味した位置を合焦位置とし、フォーカスレンズ群3をその位置へ制御する。   With the above settings, the focus lens group 3 is controlled to perform scan AF, and an AF evaluation value is acquired for each BPF. And the position where it becomes the maximum for every BPF and its reliability are calculated | required from the acquired AF evaluation value. When the reliability in the highest range is high, the peak position of the focus lens group 3 is obtained from the AF evaluation value obtained as a result, and is set as the in-focus position, and the focus lens group 3 is controlled to that position. When the reliability of the highest region is low, the peak position of the focus lens group 3 is obtained from the AF evaluation value obtained with the highest BPF among the BPFs that have obtained the highly reliable AF evaluation value signal, The position where the BP correction amount in the BPF is added is set as the in-focus position, and the focus lens group 3 is controlled to that position.

更に、ステップS1006において、第五スキャン結果の信頼性判定を行う。全てのBPFにおける信頼性が低かった場合は、水平非加算読み出しモードによるスキャンにより合焦位置を検出することが不可能であったが、水平加算の読み出しモードによるスキャンでは合焦位置を検出できる可能性がある。なぜなら、次のような理由による。
(A)高域の信号にはセンサーや回路系において重畳されるノイズが含まれているため、偽の信号が発生した。
(B)撮影者の手振れや、被写体が動くことにより被写体の高い周波数成分が失われた。
(C)高域側の周波数に対応する被写体が存在すると誤判定した結果、被写体に高域の空間周波数成分が存在しない。
In step S1006, the reliability of the fifth scan result is determined. When the reliability of all BPFs was low, it was impossible to detect the in-focus position by scanning in the horizontal non-addition readout mode, but it was possible to detect the in-focus position by scanning in the horizontal addition readout mode. There is sex. The reason is as follows.
(A) Since the high-frequency signal includes noise superimposed on the sensor and the circuit system, a false signal is generated.
(B) The high frequency component of the subject was lost due to the camera shake of the photographer or the subject moving.
(C) As a result of erroneously determining that there is a subject corresponding to the high frequency side, there is no high frequency component in the subject.

これらの理由により、更に低域のBPFでAF評価値を取得すれば、合焦位置を検出できる可能性がある。   For these reasons, if an AF evaluation value is acquired with a lower BPF, the in-focus position may be detected.

そこで、すべてのBPFから得られたAF評価値の中で最も信頼性の高いものについて、その信頼性の数値が、信頼性が高いとされる閾値の何割かを調べる。その結果得られた値が所定値以上の場合は、そのBPFで得られたAF評価値のピーク付近に、水平加算読み出しモードによるスキャンで得られたAF評価値のピーク位置が存在する可能性が高い。逆に所定値未満の場合は、水平加算読み出しモードによるスキャンで得られたAF評価値のピーク位置の推定は不可能である。この所定値は、信頼性が高いとする閾値の7割程度に設定すれば良い。   Accordingly, for the most reliable AF evaluation values obtained from all BPFs, the percentage of the threshold value at which the reliability value is considered to be high is examined. When the value obtained as a result is equal to or larger than a predetermined value, there is a possibility that the peak position of the AF evaluation value obtained by the scan in the horizontal addition reading mode exists near the peak of the AF evaluation value obtained by the BPF. high. Conversely, when the value is less than the predetermined value, it is impossible to estimate the peak position of the AF evaluation value obtained by the scan in the horizontal addition reading mode. This predetermined value may be set to about 70% of the threshold value for which the reliability is high.

そこで、信頼性の数値が所定値以上の場合は、ステップS1012における第六スキャンのスキャン範囲を、第五スキャンで検出したピーク位置付近の周辺に限定する。その値はピーク位置の前後に第六スキャンのスキャン間隔の2〜3倍程度を加えれば良い。逆に信頼性が所定値未満の場合は、スキャン範囲は設定された撮影モードにおける合焦位置をすべき全範囲(図4「A」から「B」)とする。   Therefore, if the reliability value is greater than or equal to a predetermined value, the scan range of the sixth scan in step S1012 is limited to the vicinity of the peak position detected in the fifth scan. The value may be about 2 to 3 times the scan interval of the sixth scan before and after the peak position. On the other hand, when the reliability is less than the predetermined value, the scan range is set to the entire range (“A” to “B” in FIG. 4) that should be the focus position in the set shooting mode.

ステップS1006において、第五スキャン結果の信頼性が低いと判定された場合は、ステップS1006からステップS1011へ進む。一方、信頼性が高いと判定された場合は、図9のステップS907に進み、AFOK表示を行う。   If it is determined in step S1006 that the reliability of the fifth scan result is low, the process advances from step S1006 to step S1011. On the other hand, if it is determined that the reliability is high, the process proceeds to step S907 in FIG. 9 to perform AFOK display.

ステップS1011では、センサーの読み出しモードを変更する。非加算スキャンAF用の読み出しモードから加算スキャンAFを行うための加算で高速の読み出しモードに変更する。例えば、非加算スキャンAF用の60〜120fpsの読み出しモードから、高速スキャンAF用の120fpsの読み出しモードに変更する。そして、センサー読み出しモード変更に伴い図7に示した非加算読み出しモード用に線図、加算読み出しモード用に線図に従い露出を変更する。   In step S1011, the sensor reading mode is changed. The readout mode for non-addition scan AF is changed to a high-speed readout mode by addition for performing addition scan AF. For example, the readout mode is changed from 60 to 120 fps for non-addition scan AF to 120 fps for high-speed scan AF. Then, along with the sensor readout mode change, the exposure is changed according to the diagram for the non-addition readout mode shown in FIG. 7 and the diagram for the addition readout mode.

続いて、ステップS1012で水平加算読み出しモードによる第六スキャンを行う。スキャン間隔を開放深度の5倍(5深度)程度に、BPFはステップS902のAF評価値取得時と同じに、スキャン範囲は前記の通りに設定する。そして、フォーカスレンズ群3を制御してスキャンAFを行い、各BPF毎にAF評価値を取得し、各BPFで得られたAF評価値の信頼性が高いBPFで得られたAF評価値毎にそれが最大になる位置及びその信頼性を求める。信頼性の高いAF評価値信号を得たBPFのうち最も高域のBPFで得たAF評価値よりフォーカスレンズ群3のピーク位置を求め、その値にそのBPFにおけるBP補正量を加味した位置を合焦位置とし、フォーカスレンズ群3をその位置へ制御する。   Subsequently, in step S1012, a sixth scan in the horizontal addition reading mode is performed. The scan interval is set to about 5 times the open depth (5 depths), the BPF is the same as when the AF evaluation value is acquired in step S902, and the scan range is set as described above. Then, the focus lens group 3 is controlled to perform scan AF, and an AF evaluation value is acquired for each BPF. For each AF evaluation value obtained by the BPF with high reliability of the AF evaluation value obtained by each BPF. Find the position where it is maximized and its reliability. The peak position of the focus lens group 3 is obtained from the AF evaluation value obtained by the highest BPF among the BPFs that have obtained the highly reliable AF evaluation value signal, and the position obtained by adding the BP correction amount in the BPF to the value is obtained. The in-focus position is set, and the focus lens group 3 is controlled to that position.

ここで、ステップS1008以降の処理について説明する。この動作は実施例1と同じである。低照度もしくは被写体のコントラストが低いと判定された場合は、図6のステップS621〜S622と同様の処理(第四スキャン)が行われる。   Here, the processing after step S1008 will be described. This operation is the same as in the first embodiment. If it is determined that the illumination is low or the contrast of the subject is low, processing (fourth scan) similar to steps S621 to S622 in FIG. 6 is performed.

まず、スキャン間隔を開放深度の5倍(5深度)程度、スキャン範囲は実施例1の第一スキャンと同じ(図4「A」から「B」)、BPFの設定は実施例1の第一スキャンと同じに設定し、フォーカスレンズ群3を制御してスキャンAFを行い、各BPF毎にAF評価値を取得する。そして各BPFで得られたAF評価値の信頼性が高いBPFで得られたAF評価値毎にそれが最大になる位置及びその信頼性を求める。そして、信頼性の高いAF評価値信号を得たBPFのうち最も高域のBPFで得たAF評価値よりフォーカスレンズ群3のピーク位置を選択し、その値にそのBPFにおけるBP補正量を加味した位置を合焦位置とし、フォーカスレンズ群3をその位置へ制御する。   First, the scan interval is about 5 times the open depth (5 depths), the scan range is the same as the first scan of the first embodiment ("A" to "B" in FIG. 4), and the BPF setting is the first of the first embodiment. Set to the same as the scan, the focus lens group 3 is controlled to perform scan AF, and an AF evaluation value is acquired for each BPF. Then, the position where the AF evaluation value obtained with each BPF having the highest reliability of the AF evaluation value obtained with each BPF and the reliability thereof are obtained are obtained. Then, the peak position of the focus lens group 3 is selected from the AF evaluation values obtained with the highest BPF among the BPFs having obtained highly reliable AF evaluation value signals, and the BP correction amount in the BPF is added to that value. The focus position is set as the in-focus position, and the focus lens group 3 is controlled to that position.

(実施例3)
実施例3は、設定できるBPFの個数が2つに限定される場合である。第一スキャンにおけるBPFは、その透過率がピークとなる周波数が比較的高域に設定されたBPFの透過率がピークとなる実際の周波数と、第二スキャンにおいて比較的低域側に設定されたBPFの透過率がピークとなる実際の周波数が略一致するように設定されている。例えば、第一スキャンにおいて、BPFを入力信号に対して20%、50%に透過率のピークとなるように設定すれば、水平3画素加算の場合は、6.7%、16.7%にその透過率のピークがあるような設定となる。そして第二スキャンにおいて、BPFを入力信号に対して17%、50%に透過率のピークとなるように設定すれば、第一スキャンの高域側のBPFと、第二スキャンの低域側のBPFの透過率がピークとなる周波数は略一致する。
(Example 3)
The third embodiment is a case where the number of BPFs that can be set is limited to two. The BPF in the first scan was set to a relatively low frequency side in the second scan, and the actual frequency in which the transmittance of the BPF peaked in the second scan was set to a relatively high frequency. The actual frequency at which the BPF transmittance reaches a peak is set to substantially match. For example, in the first scan, if the BPF is set to have a transmittance peak at 20% and 50% with respect to the input signal, it is 6.7% and 16.7% in the case of horizontal three-pixel addition. The transmission is set to have a peak. In the second scan, if the BPF is set to have a transmittance peak of 17% and 50% with respect to the input signal, the BPF on the high frequency side of the first scan and the low frequency side of the second scan The frequencies at which the BPF transmittance peaks are substantially the same.

このようにBPFを設定しておき、各BPFで得られたAF評価値とその信頼性から第二スキャンが可能か判断する。まず、第一スキャン高域側のBPFで得られたAF評価値の信頼性がともに高いことが条件になる。更に第二スキャンを行うためには、第一スキャン高域側のAF評価値出力が第一スキャン低域側の出力より高いことが必要となる。第三・第四スキャンのBPFの設定は、第一スキャンと同じである。   In this way, the BPF is set, and it is determined whether the second scan is possible from the AF evaluation value obtained by each BPF and its reliability. First, it is a condition that the AF evaluation value obtained by the BPF on the first scan high frequency side is highly reliable. Furthermore, in order to perform the second scan, it is necessary that the AF evaluation value output on the first scan high frequency side is higher than the output on the first scan low frequency side. The BPF settings for the third and fourth scans are the same as for the first scan.

以上、実施例1〜3はコンパクトタイプのデジタルカメラを例に説明したが、本発明は、デジタルビデオカメラやデジタルSLRにも適用可能である。   As described above, the first to third embodiments have been described by taking the compact type digital camera as an example, but the present invention can also be applied to a digital video camera and a digital SLR.

1 撮像装置、
3 フォーカスレンズ群
5 固体撮像素子(センサー)
6 撮像回路
13 AE処理回路
14 AF処理回路
15 演算用のメモリを内蔵したCPU
1 imaging device,
3 Focus lens group 5 Solid-state image sensor (sensor)
6 Imaging circuit 13 AE processing circuit 14 AF processing circuit 15 CPU with built-in memory for calculation

Claims (6)

フォーカスレンズを含む撮影光学系により結像される被写体像を光電変換して撮像信号を生成し出力する撮像手段と、
前記撮像信号に基づいて、前記フォーカスレンズを移動させながら前記フォーカスレンズの合焦状態を示す評価信号を取得するスキャン動作を行い、取得した評価信号に基づいて前記フォーカスレンズの位置を制御する制御手段を有する自動焦点調整装置であって、
前記撮像手段から前記撮像信号を読み出すモードとして、前記撮像信号を加算しながら読み出す第1のモードと、前記撮像信号を加算せずに読み出す第2のモードとを有し、
前記制御手段は、第1の照度より低い第2の照度の場合、前記第2のモードを用いた前記撮像信号の読み出しを制限することを特徴とする自動焦点調整装置。
Imaging means for photoelectrically converting a subject image formed by a photographing optical system including a focus lens to generate and output an imaging signal;
Control means for performing a scanning operation for acquiring an evaluation signal indicating an in-focus state of the focus lens while moving the focus lens based on the imaging signal, and controlling the position of the focus lens based on the acquired evaluation signal An automatic focus adjustment device comprising:
As a mode for reading the imaging signal from the imaging means, it has a first mode for reading while adding the imaging signal, and a second mode for reading without adding the imaging signal,
The control unit is configured to restrict reading of the imaging signal using the second mode when the second illuminance is lower than the first illuminance.
前記制御手段は、前記第1のモードを用いて前記撮像信号を取得する第1のスキャン動作を行い、前記第1の照度の場合、前記第1のスキャン動作から得られた結果に基づく第2のスキャン動作を行うことを特徴とする請求項1に記載の自動焦点調整装置。   The control means performs a first scan operation for acquiring the imaging signal using the first mode, and in the case of the first illuminance, a second based on a result obtained from the first scan operation. The automatic focus adjustment apparatus according to claim 1, wherein the scanning operation is performed. 前記第1のスキャン動作から得られた結果が所定の条件を満たす場合、前記制御手段は、前記第2のスキャン動作を行う際に前記第2のモードで前記撮像信号を読み出すことを特徴とする請求項2に記載の自動焦点調整装置。   When the result obtained from the first scan operation satisfies a predetermined condition, the control unit reads the imaging signal in the second mode when performing the second scan operation. The automatic focus adjustment apparatus according to claim 2. 前記所定の条件は、前記第1のスキャン動作で得られた前記評価信号の信頼性が所定値より高いことであることを特徴とする請求項3に記載の自動焦点調整装置。   The automatic focus adjustment apparatus according to claim 3, wherein the predetermined condition is that the reliability of the evaluation signal obtained in the first scanning operation is higher than a predetermined value. 前記第1のスキャン動作から得られた結果が所定の条件を満たさない場合、前記制御手段は、前記第2のスキャン動作を行う際に前記第1のモードで前記撮像信号を読み出すことを特徴とする請求項2に記載の自動焦点調整装置。   When the result obtained from the first scan operation does not satisfy a predetermined condition, the control unit reads the image pickup signal in the first mode when performing the second scan operation. The automatic focus adjustment apparatus according to claim 2. 前記第1の照度の場合であって、前記評価信号に基づくコントラストが所定値より高い場合、前記第1のスキャン動作において、前記第2の照度の場合より高速に前記第1のモードで前記撮像信号を読み出すことを特徴とする請求項2乃至5のいずれか1項に記載の自動焦点調整装置。   In the case of the first illuminance, when the contrast based on the evaluation signal is higher than a predetermined value, the imaging in the first mode is faster in the first scan operation than in the case of the second illuminance. 6. The automatic focus adjustment apparatus according to claim 2, wherein a signal is read out.
JP2012252553A 2012-11-16 2012-11-16 Automatic focusing apparatus Pending JP2014102290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012252553A JP2014102290A (en) 2012-11-16 2012-11-16 Automatic focusing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012252553A JP2014102290A (en) 2012-11-16 2012-11-16 Automatic focusing apparatus

Publications (1)

Publication Number Publication Date
JP2014102290A true JP2014102290A (en) 2014-06-05

Family

ID=51024879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012252553A Pending JP2014102290A (en) 2012-11-16 2012-11-16 Automatic focusing apparatus

Country Status (1)

Country Link
JP (1) JP2014102290A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016014839A (en) * 2014-07-03 2016-01-28 キヤノン株式会社 Imaging device and control method of the same
JP2016197202A (en) * 2015-04-06 2016-11-24 キヤノン株式会社 Focus adjustment device, control method and control program for the same, and imaging device
JP2017072809A (en) * 2015-10-09 2017-04-13 キヤノン株式会社 Automatic focus adjustment device, control method therefor, and imaging apparatus
JP2018081289A (en) * 2016-11-18 2018-05-24 キヤノン株式会社 Imaging device, method for controlling imaging device, and focus control program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016014839A (en) * 2014-07-03 2016-01-28 キヤノン株式会社 Imaging device and control method of the same
JP2016197202A (en) * 2015-04-06 2016-11-24 キヤノン株式会社 Focus adjustment device, control method and control program for the same, and imaging device
JP2017072809A (en) * 2015-10-09 2017-04-13 キヤノン株式会社 Automatic focus adjustment device, control method therefor, and imaging apparatus
JP2018081289A (en) * 2016-11-18 2018-05-24 キヤノン株式会社 Imaging device, method for controlling imaging device, and focus control program

Similar Documents

Publication Publication Date Title
JP4886210B2 (en) Imaging device
JP5234119B2 (en) Imaging apparatus, imaging processing method, and program
JP5609270B2 (en) IMAGING DEVICE, IMAGING SYSTEM, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
US20130016245A1 (en) Imaging apparatus
WO2013088917A1 (en) Image processing device, image processing method, and recording medium
US20090231445A1 (en) Imaging apparatus
JP4657960B2 (en) Imaging method and apparatus
JP6116277B2 (en) Imaging apparatus and control method thereof
JP2007019973A (en) Imaging device and imaging method
JP2011150281A (en) Imaging apparatus, method for controlling the imaging apparatus, and computer program
JP5106143B2 (en) Automatic focus adjustment device and automatic focus adjustment method thereof
JP6253245B2 (en) Imaging apparatus and imaging method
JP2007148249A (en) Automatic focusing device
JP2014102290A (en) Automatic focusing apparatus
JP5765935B2 (en) Focus adjustment apparatus and method
JP2007071988A (en) Imaging apparatus and its control method
JP5780752B2 (en) Automatic focus adjustment device and automatic focus adjustment method
JP2014106324A (en) Autofocus device and imaging device
JP6272015B2 (en) Focus adjustment apparatus and method, and imaging apparatus
US10003736B2 (en) Image pickup device
JP2010192991A (en) Imaging apparatus, control method and program
JP2009272799A (en) Imaging device and program
JP2010078681A (en) Automatic focus adjustment device and method, and program
JP5106146B2 (en) Automatic focus adjustment device
JP2009198975A (en) Focus adjustment device and focus adjustment method therefor