JP4194604B2 - Automatic focusing device and imaging device - Google Patents

Automatic focusing device and imaging device Download PDF

Info

Publication number
JP4194604B2
JP4194604B2 JP2006042450A JP2006042450A JP4194604B2 JP 4194604 B2 JP4194604 B2 JP 4194604B2 JP 2006042450 A JP2006042450 A JP 2006042450A JP 2006042450 A JP2006042450 A JP 2006042450A JP 4194604 B2 JP4194604 B2 JP 4194604B2
Authority
JP
Japan
Prior art keywords
focus
process proceeds
shooting
scan
focus lens
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006042450A
Other languages
Japanese (ja)
Other versions
JP2007219390A (en
Inventor
正晃 上西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2006042450A priority Critical patent/JP4194604B2/en
Priority to US11/668,833 priority patent/US7634185B2/en
Priority to CN2007100033518A priority patent/CN101013190B/en
Publication of JP2007219390A publication Critical patent/JP2007219390A/en
Application granted granted Critical
Publication of JP4194604B2 publication Critical patent/JP4194604B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、フォーカスレンズを被写体光軸方向に走査させながら撮像素子からの出力信号に基づいて焦点状態を検出し、前記フォーカスレンズの位置を調節する焦点調節手段を有する自動合焦装置、及び、該自動合焦装置を具備する撮像装置に関するものである。   The present invention is directed to an automatic focusing device having a focus adjustment unit that detects a focus state based on an output signal from an image sensor while scanning a focus lens in a subject optical axis direction, and adjusts the position of the focus lens, and The present invention relates to an imaging apparatus including the automatic focusing device.

電子カメラでは、撮像素子に結像した被写体像の輝度信号の高周波成分(以下、焦点評価値という)が最大となるレンズ位置を合焦位置として焦点調節を行う、コントラスト検出方式の焦点調節装置が採用されることが多い。コントラスト検出方式では、専用のAF(オートフォーカス)センサによる方式と異なり、フォーカスレンズの走査動作(スキャン動作)を必要とする。そのため、撮影間隔の短い連写撮影においてはその時間間隔によりスキャン可能範囲が限定され、合焦位置を捕らえることが困難になる。また、連写で次々と撮影される画像の現像や変換等の各種画像処理によりシステムの負荷が大きくなることも、信号処理が必要なコントラスト検出方式によるAF動作を困難なものとする一因となっている。   In an electronic camera, there is a contrast detection type focus adjustment device that performs focus adjustment with a lens position where the high-frequency component (hereinafter referred to as a focus evaluation value) of a luminance signal of a subject image formed on an image sensor is maximized as a focus position. Often adopted. Unlike the method using a dedicated AF (autofocus) sensor, the contrast detection method requires a focus lens scanning operation (scanning operation). For this reason, in continuous shooting with a short shooting interval, the scanable range is limited by the time interval, and it is difficult to capture the in-focus position. In addition, the load on the system increases due to various image processing such as development and conversion of images taken one after another in continuous shooting, which is one of the reasons that makes the AF operation by the contrast detection method requiring signal processing difficult. It has become.

これらの理由により、連写撮影時には連写1枚目のフォーカスレンズ位置でフォーカスがロックされる電子カメラが多くなっている。しかし、連写撮影は動く被写体を撮影することが比較的多く、フォーカスロックでは連写枚数が増すにつれ、動く被写体にピントの外れた画像が撮影されることになる。   For these reasons, there are many electronic cameras whose focus is locked at the position of the first focus lens during continuous shooting. However, in continuous shooting, a moving subject is relatively often captured. With the focus lock, an image out of focus is captured on a moving subject as the number of continuous shots increases.

この問題に対し、例えば、特許文献1では、狭いスキャン範囲の設定が可能であり、それまでの合焦位置の移動方向に基づいて特定の位置(前回撮影位置)を基準にスキャン範囲の振り分け幅を異ならせる合焦装置が提案されている。
特開2002−122773号公報
To deal with this problem, for example, in Patent Document 1, it is possible to set a narrow scan range, and the scan range allocation width based on a specific position (previous shooting position) based on the movement direction of the in-focus position so far There has been proposed a focusing device for differentiating each other.
JP 2002-122773 A

上記の従来技術によれば、連写撮影においても動く被写体への追従性を向上させることが可能となる。しかしながら、前回の撮影位置を基準としてスキャン範囲を設定するため、格納手段への信号の保存ができないような場合には、その間撮影を行うことが出来ず、前回の撮影位置を基準とすることができない。したがって、被写体の移動に対してスキャン範囲が追従できなくなり、合焦不可能となっていた。 According to the above prior art, it is possible to improve the followability to a moving subject even in continuous shooting. However, since the scan range is set based on the previous shooting position, if the signal cannot be stored in the storage means, shooting cannot be performed during that time, and the previous shooting position may be used as a reference. Can not. Therefore, the scanning range cannot follow the movement of the subject, and focusing cannot be performed.

(発明の目的)
本発明の目的は、動体被写体への追従性を向上させた自動合焦装置及び撮像装置を提供しようとするものである。
(Object of invention)
An object of the present invention is to provide an automatic focusing device and an imaging device that improve the followability to a moving subject.

上記目的を達成するために、本発明は、フォーカスレンズを被写体光軸方向に走査させながら撮像素子からの出力信号に基づいて被写体への焦点状態を検出し、該被写体への焦点状態の検出結果に応じて前記フォーカスレンズの位置を調節して被写体に合焦するようにする焦点調節手段と、前記撮像素子から出力された信号を保存するための格納手段と、前記格納手段に格納された信号を記録媒体に記録するための記録制御手段と、連続して前記格納手段に撮像画像を保存する撮影の場合、撮影ごとに前記フォーカスレンズを走査させ、前回以前の撮影に伴う走査結果の前記フォーカスレンズの停止位置に基づいて今回の撮影に伴う前記フォーカスレンズの走査動作を行い、焦点調節を行うよう制御する制御手段とを有し、前記制御手段が、連続して前記格納手段に撮像画像を保存する撮影において、前記格納手段がフルになることによって前記撮像素子から出力された信号を保存することができず、前記格納手段からフルになっている撮像画像を前記記録媒体に転送する間、前記走査動作が中断した場合には、該中断後に前記フォーカスレンズを中断前より広い走査範囲で走査させ、前記フォーカスレンズの位置調節を行う自動合焦装置とするものである。 In order to achieve the above object, the present invention detects a focus state on a subject based on an output signal from an image sensor while scanning a focus lens in the subject optical axis direction, and detects a focus state detection result on the subject. A focus adjustment unit that adjusts the position of the focus lens in accordance with the focus lens, a storage unit that stores a signal output from the image sensor, and a signal stored in the storage unit. a recording control means for recording on a recording medium, when the photographing for storing the captured image in the storage unit in succession, by scanning the focus lens for each shooting, the focus of the scanning results with the previous previous shooting Control means for performing a scanning operation of the focus lens associated with the current photographing based on the stop position of the lens and performing focus adjustment, and the control means includes: In connection with shooting for storing the captured image in the storage unit, imaging said storage means is not able to store the signal output from the imaging device by becoming full, it is full from the storage means An automatic focusing device that adjusts the position of the focus lens by scanning the focus lens in a wider scanning range after the interruption when the scanning operation is interrupted while transferring the image to the recording medium ; To do.

同じく上記目的を達成するために、本発明は、請求項1に記載の自動合焦装置を具備した撮像装置とするものである。 Similarly, in order to achieve the above object, the present invention provides an imaging apparatus equipped with the automatic focusing apparatus according to claim 1 .

本発明によれば、動体被写体への追従性を向上させた自動合焦装置または撮像装置を提供できるものである。   ADVANTAGE OF THE INVENTION According to this invention, the automatic focusing apparatus or imaging device which improved the followable | trackability to a moving subject can be provided.

本発明を実施するための最良の形態は、以下の実施例1ないし3に示す通りである。   The best mode for carrying out the present invention is as shown in Examples 1 to 3 below.

図1は本発明の実施例1に係わる電子カメラの回路構成を示すブロック図である。図1において、101はズーム機構を含む撮影レンズ、102は光量を制御する絞り及びシャッターである。103はAE処理部、104は後述する撮像素子上に焦点を合わせるためのフォーカスレンズである。105はAF処理部、106はストロボ、107はEF処理部である。108は被写体からの反射光を電気信号に変換する受光手段又は光電変換手段としての撮像素子である。109は撮像素子108の出力ノイズを除去するCDS回路やA/D変換前に行う非線形増幅回路を含むA/D変換部である。   FIG. 1 is a block diagram showing a circuit configuration of an electronic camera according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 101 denotes a photographing lens including a zoom mechanism, and reference numeral 102 denotes an aperture and a shutter that control the amount of light. Reference numeral 103 denotes an AE processing unit, and reference numeral 104 denotes a focus lens for focusing on an image sensor described later. Reference numeral 105 denotes an AF processing unit, 106 denotes a strobe, and 107 denotes an EF processing unit. Reference numeral 108 denotes an image sensor as light receiving means or photoelectric conversion means for converting reflected light from a subject into an electrical signal. Reference numeral 109 denotes an A / D converter including a CDS circuit that removes output noise from the image sensor 108 and a non-linear amplifier circuit that is executed before A / D conversion.

110は画像処理部、111はWB(ホワイトバランス)処理部、112はフォーマット変換部、113は高速な内蔵メモリ(例えばランダムアクセスメモリなど、以下、DRAM)である。114はメモリカードなどの記録媒体とそのインターフェースからなる画像記録部である。115は撮影シーケンスなどシステムを制御するシステム制御部、116は画像表示用メモリ(以下、VRAMという)である。117は画像表示の他、操作補助のための表示やカメラ状態の表示の他、撮影時には撮影画面とAF(オートフォーカス)領域を表示する操作表示部、118はカメラを外部から操作するための操作部である。   Reference numeral 110 denotes an image processing unit, 111 denotes a WB (white balance) processing unit, 112 denotes a format conversion unit, and 113 denotes a high-speed built-in memory (for example, random access memory, hereinafter referred to as DRAM). An image recording unit 114 includes a recording medium such as a memory card and its interface. Reference numeral 115 denotes a system control unit for controlling the system such as a photographing sequence, and 116 denotes an image display memory (hereinafter referred to as VRAM). In addition to displaying images, 117 is an operation display unit that displays a shooting screen and an AF (autofocus) area at the time of shooting, in addition to display for assisting operations and display of camera status, and 118 is an operation for operating the camera from the outside. Part.

119はプログラム、風景、人物、スポーツなどの撮影モードを設定する撮影モードスイッチ(SW)、120は1枚撮影、連続撮影(連写)、セルフタイマー撮影などのドライブモード設定を行うドライブモードスイッチである。121は常に被写体にピントを合わせ続けるContinuousAFモードと、撮影前のスキャンのみでピントを合わせるSingleAFモードを選択するAFモードスイッチである。122はシステムに電源を投入するためのメインスイッチ、123はAFやAE等の撮影スタンバイ動作(撮影準備動作)を行うためのスイッチ(以下、SW1)、124はスイッチSW1の操作後、撮影を行う撮影スイッチ(以下、SW2)である。   Reference numeral 119 denotes a shooting mode switch (SW) for setting a shooting mode such as a program, landscape, person, and sports, and 120 denotes a drive mode switch for setting a drive mode such as single shooting, continuous shooting (continuous shooting), and self-timer shooting. is there. Reference numeral 121 denotes an AF mode switch for selecting a Continuous AF mode in which the subject is always in focus and a Single AF mode in which the focus is adjusted only by scanning before photographing. 122 is a main switch for turning on the system, 123 is a switch for performing shooting standby operation (shooting preparation operation) such as AF and AE (hereinafter referred to as SW1), and 124 is used for shooting after operating the switch SW1. A shooting switch (hereinafter referred to as SW2).

上記DRAM113は一時的な画像記憶手段としての高速バッファとして、あるいは画像の圧縮伸張における作業用メモリなどに使用される。操作部118は、例えば、撮像装置の撮影機能や画像再生時の設定などの各種設定を行うメニュースイッチ、撮影レンズのズーム動作を指示するズームレバー、撮影モードと再生モードの動作モード切換スイッチなどを含む。   The DRAM 113 is used as a high-speed buffer as temporary image storage means, or as a working memory for image compression / decompression. The operation unit 118 includes, for example, a menu switch for performing various settings such as a shooting function of the imaging apparatus and settings for image playback, a zoom lever for instructing a zoom operation of the shooting lens, an operation mode switching switch between the shooting mode and the playback mode, and the like. Including.

以下、本発明の実施例1の動作について、図2を参照しながら詳述する。図2は本発明の実施例1に係わる電子カメラの一連の動作を示すフローチャートである。   Hereinafter, the operation of the first embodiment of the present invention will be described in detail with reference to FIG. FIG. 2 is a flowchart showing a series of operations of the electronic camera according to Embodiment 1 of the present invention.

まずステップS201では、メインスイッチ122の状態を検出し、ONであればステップS202へ進む。ここで、メインスイッチ122の機能はシステムに電源を投入することである。次のステップS202では、記録媒体である画像記録部114の残容量を調べ、残容量が0であればステップS203へ進み、そうでなければステップS204へ進む。ステップS203では、画像記録部114の残容量が0であることを警告してステップS201に戻る。警告は操作表示部117に表示するか又は図示しない音声出力部から警告音を出すか、又はその両方を行ってもよい。   First, in step S201, the state of the main switch 122 is detected, and if it is ON, the process proceeds to step S202. Here, the function of the main switch 122 is to turn on the system. In the next step S202, the remaining capacity of the image recording unit 114 as a recording medium is checked. If the remaining capacity is 0, the process proceeds to step S203, and if not, the process proceeds to step S204. In step S203, a warning is given that the remaining capacity of the image recording unit 114 is 0, and the process returns to step S201. The warning may be displayed on the operation display unit 117, a warning sound may be emitted from a voice output unit (not shown), or both may be performed.

ステップS204へ進むと、AFモードがContinuousAFモードであるかSingleAFモードであるかを調べ、ContinuousAFモードであればステップS205へ進み、SingleAFモードであればステップS206へ進む。ステップS205では、後述する図3のフローチャートに従ってContinuousAFを行う。   In step S204, it is checked whether the AF mode is the continuous AF mode or the single AF mode. If the AF mode is the continuous AF mode, the process proceeds to step S205. If the AF mode is the single AF mode, the process proceeds to step S206. In step S205, Continuous AF is performed according to the flowchart of FIG.

次のステップS206では、スイッチSW1の状態を調べ、ONであればステップS208へ進み、そうでなければステップS207へ進む。スイッチSW1の機能は、AFやAEなどの撮影スタンバイ動作を行うことである。スイッチSW1がOFFであるとしてステップS207へ進むと、ここではメインスイッチ122の状態を調べ、ONであればステップS204へ、そうでなければステップS201へ、それぞれ戻る。   In the next step S206, the state of the switch SW1 is checked. If it is ON, the process proceeds to step S208, and if not, the process proceeds to step S207. The function of the switch SW1 is to perform a shooting standby operation such as AF or AE. If the switch SW1 is OFF and the process proceeds to step S207, the state of the main switch 122 is checked here. If the switch SW1 is ON, the process returns to step S204. Otherwise, the process returns to step S201.

スイッチSW1がONであるとしてステップS208へ進むと、AE処理部103で画像処理部110の出力からAE処理を行う。そして、次のステップS209にて、後述する図4のフローチャートに従ってAF動作を行う。続くステップS210では、スイッチSW2の状態を調べ、ONであればステップS212へ進み、そうでなければステップS211へ進む。スイッチSW2の機能は、スイッチSW1の操作後撮影を行うことである。スイッチSW2がOFFであるとしてステップS211へ進むと、スイッチSW1の状態を調べ、ONでなければステップS204へ戻り、ONであればステップS210へ戻って、スイッチSW2がONされるかスイッチSW1がOFFされるまで、フォーカスをロックする。   If the switch SW1 is ON and the process proceeds to step S208, the AE processing unit 103 performs AE processing from the output of the image processing unit 110. Then, in the next step S209, an AF operation is performed according to the flowchart of FIG. In the following step S210, the state of the switch SW2 is checked. If it is ON, the process proceeds to step S212. Otherwise, the process proceeds to step S211. The function of the switch SW2 is to perform shooting after the switch SW1 is operated. If the switch SW2 is OFF and the process proceeds to step S211, the state of the switch SW1 is checked. If it is not ON, the process returns to step S204. If it is ON, the process returns to step S210 and the switch SW2 is turned ON or the switch SW1 is OFF. Lock focus until done.

スイッチSW2がONであるとしてステップS212へ進むと、後述する図11のフローチャートに従って撮影動作を行う。次のステップS213では、画像記録部114の残容量を調べ、残容量が0であれば警告を行う上記のステップS203へ戻り、そうでなければステップS214へ進む。ステップS214へ進む。ドライブモードスイッチ120により連写モードに設定されているか、または撮影モードスイッチ119により連写モードがデフォルト設定となる撮影モードに設定されているかを調べる。この結果、連写モードであればステップS216へ進み、そうでなければステップS215へ進む。   When the process proceeds to step S212 assuming that the switch SW2 is ON, the photographing operation is performed according to the flowchart of FIG. In the next step S213, the remaining capacity of the image recording unit 114 is checked. If the remaining capacity is 0, the process returns to step S203 where a warning is given, and if not, the process proceeds to step S214. Proceed to step S214. It is checked whether the continuous shooting mode is set by the drive mode switch 120 or whether the continuous shooting mode is set to the default shooting mode by the shooting mode switch 119. As a result, if the continuous shooting mode is selected, the process proceeds to step S216; otherwise, the process proceeds to step S215.

連写モードではないとしてステップS215へ進むと、スイッチSW2の状態を調べ、ONであればこの間は撮影画像を操作表示部117に表示し、スイッチSW2がOFFするとステップS211へ進む。また、連写モードであるとしてステップS216へ進むと、ここではスイッチSW2の状態を調べ、ONでなければ上記ステップ215の場合と同様にステップS211へ進む。スイッチSW2がONであれば連写撮影のためにステップS209へ進み、後述する図4のフローチャートに従って連写時のAF動作へと進む。   When the process proceeds to step S215 assuming that the mode is not the continuous shooting mode, the state of the switch SW2 is checked. If the switch SW2 is ON, the photographed image is displayed on the operation display unit 117 during this time, and if the switch SW2 is OFF, the process proceeds to step S211. If it is determined that the continuous shooting mode is set and the process proceeds to step S216, the state of the switch SW2 is checked here, and if it is not ON, the process proceeds to step S211 as in step 215. If the switch SW2 is ON, the process proceeds to step S209 for continuous shooting, and the process proceeds to an AF operation during continuous shooting according to the flowchart of FIG.

次に、図2のステップS205におけるContinuousAFのサブルーチンについて、図3のフローチャートを参照しながら説明する。   Next, the Continuous AF subroutine in step S205 of FIG. 2 will be described with reference to the flowchart of FIG.

まずステップS301では、焦点評価値を取得する。次のステップS302では、ピーク検出フラグがTRUE(真)であるかどうかを調べ、TRUEであればステップS317へ進み、FALSE(偽)であればステップS303へ進む。ステップS303へ進むと、フォーカスレンズ104の現在位置を取得する。そして、次のステップS304にて、焦点評価値の取得及びフォーカスレンズ104の現在位置の取得をカウントするための取得カウンタに1を加える。この取得カウンタは、初期化動作(不図示)において予め0に設定されているものとする。   First, in step S301, a focus evaluation value is acquired. In the next step S302, it is checked whether or not the peak detection flag is TRUE (true). If it is TRUE, the process proceeds to step S317, and if it is FALSE (false), the process proceeds to step S303. In step S303, the current position of the focus lens 104 is acquired. In the next step S304, 1 is added to the acquisition counter for counting the acquisition of the focus evaluation value and the acquisition of the current position of the focus lens 104. This acquisition counter is set to 0 in advance in an initialization operation (not shown).

次のステップS305では、取得カウンタの値が1かどうかを調べ、取得カウンタの値が1ならばステップS307へ進み、取得カウンタの値が1でなければ(1より大きければ)ステップS306へ進む。ステップS306では、「今回の焦点評価値」が「前回の焦点評価値」よりも大きいかどうかを調べる。「今回の焦点評価値」が「前回の焦点評価値」よりも大きければステップS307へ進み、そうでなければステップS313へ進む。ステップS307へ進むと、今回の焦点評価値を焦点評価値の最大値としてシステム制御部115に内蔵される図示しない演算メモリに記憶する。そして、次のステップS308にて、フォーカスレンズ104の現在の位置を焦点評価値のピーク位置としてシステム制御部115に内蔵される上記演算メモリに記憶する。続くステップS309では、今回の焦点評価値を前回の焦点評価値としてシステム制御部115に内蔵される上記演算メモリに記憶する。   In the next step S305, it is checked whether or not the value of the acquisition counter is 1. If the value of the acquisition counter is 1, the process proceeds to step S307, and if the value of the acquisition counter is not 1 (if greater than 1), the process proceeds to step S306. In step S306, it is checked whether “current focus evaluation value” is larger than “previous focus evaluation value”. If “current focus evaluation value” is larger than “previous focus evaluation value”, the process proceeds to step S307; otherwise, the process proceeds to step S313. In step S307, the current focus evaluation value is stored as a maximum focus evaluation value in a calculation memory (not shown) built in the system control unit 115. In the next step S308, the current position of the focus lens 104 is stored in the calculation memory built in the system control unit 115 as the peak position of the focus evaluation value. In the subsequent step S309, the current focus evaluation value is stored in the calculation memory built in the system control unit 115 as the previous focus evaluation value.

次のステップS310では、フォーカスレンズ104の現在位置がAF範囲の端にあるかどうかを調べる。フォーカスレンズ104の現在位置が端にあればステップS311へ進み、そうでなければステップS312へ進む。ステップS311では、フォーカスレンズ104の移動方向を反転する。そして、次のステップS312にて、フォーカスレンズ104を所定量移動し、図2のフローチャートへリターンする。   In the next step S310, it is checked whether or not the current position of the focus lens 104 is at the end of the AF range. If the current position of the focus lens 104 is at the end, the process proceeds to step S311; otherwise, the process proceeds to step S312. In step S311, the moving direction of the focus lens 104 is reversed. In the next step S312, the focus lens 104 is moved by a predetermined amount, and the process returns to the flowchart of FIG.

上記ステップS306にて「今回の焦点評価値」が「前回の焦点評価値」よりも大きくないとしてステップS313へ進むと、「焦点評価値の最大値−今回の焦点評価値」が所定量より大きいかどうかを調べる。「焦点評価値の最大値−今回の焦点評価値」が所定量より大きければステップS314へ進み、そうでなければステップS309へ進む。ここで「焦点評価値の最大値−今回の焦点評価値」が所定量より大きい、即ち最大値から所定量を越えて減少していれば、その最大値をピントのピーク位置での値とみなす。そして、ステップS314にて、フォーカスレンズ104をステップS308で記憶した焦点評価値が最大値となったピーク位置へ移動させる。続くステップS315では、ピーク検出フラグをTRUEとし、次のステップS316にて、取得カウンタを0とし、図2のフローチャートへリターンする。   If it is determined in step S306 that “current focus evaluation value” is not greater than “previous focus evaluation value”, the process proceeds to step S313, where “maximum focus evaluation value−current focus evaluation value” is greater than a predetermined amount. Find out if. If “the maximum value of the focus evaluation value−the current focus evaluation value” is larger than the predetermined amount, the process proceeds to step S314; otherwise, the process proceeds to step S309. Here, if “the maximum value of the focus evaluation value−the current focus evaluation value” is larger than the predetermined amount, that is, if the maximum value is decreased beyond the predetermined amount, the maximum value is regarded as a value at the focus peak position. . In step S314, the focus lens 104 is moved to the peak position where the focus evaluation value stored in step S308 is the maximum value. In the subsequent step S315, the peak detection flag is set to TRUE, and in the next step S316, the acquisition counter is set to 0, and the process returns to the flowchart of FIG.

上記ステップS302にてピーク検出フラグがTRUEであるとしてステップS317へ進むと、今回の焦点評価値が焦点評価値の最大値に対して所定割合以上変動したかどうかを調べる。そして、所定割合以上の大きな変動をしていればステップS319へ進み、小さな変動であればステップS318へ進む。ステップS318では、フォーカスレンズ104の位置をそのまま保持する。一方、ステップS319では、焦点評価値が最大となるフォーカスレンズ位置を再び求め直すためにピーク検出フラグをFALSEとし、焦点評価値の最大値およびピーク位置をリセットし、図2のフローチャートへリターンする。   If it is determined in step S302 that the peak detection flag is TRUE, the process advances to step S317 to check whether the current focus evaluation value has fluctuated by a predetermined ratio or more with respect to the maximum value of the focus evaluation value. If there is a large fluctuation of a predetermined ratio or more, the process proceeds to step S319, and if the fluctuation is small, the process proceeds to step S318. In step S318, the position of the focus lens 104 is held as it is. On the other hand, in step S319, the peak detection flag is set to FALSE to re-determine the focus lens position where the focus evaluation value is maximized, the maximum focus evaluation value and the peak position are reset, and the process returns to the flowchart of FIG.

以上のようにして、ContinuousAF動作では常に合焦状態となるようにフォーカスレンズ104を駆動する。   As described above, the focus lens 104 is driven so as to be always in focus in the continuous AF operation.

次に、図2のステップS209のAF動作のサブルーチンについて、図4及び図5を参照しながら説明する。なお、図5はスキャン範囲設定についての説明図である。   Next, the AF operation subroutine of step S209 in FIG. 2 will be described with reference to FIGS. FIG. 5 is an explanatory diagram for setting a scan range.

まずステップS401では、ドライブモードスイッチ120により連写モードに設定されているか、または撮影モードスイッチ119により連写モードがデフォルト設定となる撮影モードに設定されているかを調べ、連写モードであればステップS412へ進み、そうでなければステップS402へ進む。   First, in step S401, it is checked whether the continuous shooting mode is set by the drive mode switch 120 or the shooting mode switch 119 is set to the shooting mode in which the continuous shooting mode is the default setting. Proceed to S412; otherwise, proceed to Step S402.

連写モードではないとしてステップS402へ進むと、AFモードスイッチ121によりAFモード設定がContinuousAFモードであるかSingleAFモードであるかを調べ、ContinuousAFモードであればステップS403へ進み、SingleAFモードであればステップS405へ進む。ステップS403では、上記の図3のフローチャートにおけるピーク検出フラグがTRUEであるかどうかを調べ、TRUEであればステップS404へ進み、FALSEであればステップS405へ進む。   If it is determined that the mode is not the continuous shooting mode, the process proceeds to step S402. The AF mode switch 121 checks whether the AF mode setting is the continuous AF mode or the single AF mode. If the AF mode switch 121 is the continuous AF mode, the process proceeds to step S403. Proceed to S405. In step S403, it is checked whether or not the peak detection flag in the flowchart of FIG. 3 is TRUE. If it is TRUE, the process proceeds to step S404, and if it is FALSE, the process proceeds to step S405.

ステップS404では、ContinuousAF動作により焦点評価値がピークを示す合焦位置付近にフォーカスレンズ104が位置するため、合焦精度を向上させることを主な目的として現在のフォーカスレンズ位置を中心とした狭いスキャン範囲を設定する。ここで、スキャン範囲は、後述する図7のフローチャートによる合焦判定に必要なスキャンデータ数を満たすと同時に、スキャン時間が不必要に長くならないように設定する。一方、ステップS405へ進んだ場合は、設定されたモードにおけるAF可能範囲全域をスキャン範囲に設定する。   In step S404, since the focus lens 104 is positioned near the focus position where the focus evaluation value shows a peak due to the continuous AF operation, a narrow scan centering on the current focus lens position is mainly aimed at improving the focus accuracy. Set the range. Here, the scan range is set so as to satisfy the number of scan data necessary for focus determination according to the flowchart of FIG. 7 to be described later, and at the same time, the scan time does not become unnecessarily long. On the other hand, when the process proceeds to step S405, the entire AF possible range in the set mode is set as the scan range.

次のステップS406では、後述する図6のフローチャートに従ってステップS404もしくはステップS405で設定されたスキャン範囲のスキャンを行う。そして、次のステップS407にて、ステップS406で記憶したスキャンデータにより後述する図7のフローチャートにしたがって合焦判定を行う。続くステップS408では、ステップS407における合焦判定の結果が○(後述のように焦点調節が可能であることを意味する)であればステップS409へ進み、×であればステップS410へ進む。   In the next step S406, the scan range set in step S404 or step S405 is scanned according to the flowchart of FIG. 6 described later. In the next step S407, in-focus determination is performed according to the flowchart of FIG. 7 described later, based on the scan data stored in step S406. In subsequent step S408, if the result of focus determination in step S407 is ◯ (meaning that focus adjustment is possible as described later), the process proceeds to step S409, and if it is x, the process proceeds to step S410.

合焦判定の結果が×であるとしてステップS410へ進むと、設定されたモードにおけるAF可能範囲全域のスキャンが済んでいるかを調べ、全域スキャン済みであればステップS411へ進み、定点と呼ばれるあらかじめ設定された位置へフォーカスレンズ104を移動する。また、全域スキャン未完了であればステップS405へ戻って同様の動作を繰り返す。合焦判定の結果が○であるとしてステップS408からステップS409へ進んだ場合は、ステップS406または後述のステップS418のスキャンにおいて計算したピーク位置へフォーカスレンズ104を移動する。   If the focus determination result is x and the process proceeds to step S410, it is checked whether or not the entire AF possible range has been scanned in the set mode. If the entire area has been scanned, the process proceeds to step S411 and a preset point called a fixed point is set. The focus lens 104 is moved to the set position. If the entire area scan is not completed, the process returns to step S405 and the same operation is repeated. If the focus determination result is “good” and the process proceeds from step S408 to step S409, the focus lens 104 is moved to the peak position calculated in the scan of step S406 or step S418 described later.

上記ステップS401にて連写モードであるとしてステップS412へ進むと、連写撮影の1枚目であるかどうか調べ、連写1枚目であればステップS403へ進み、連写1枚目でなければステップS413へ進む。連写1枚目は、合焦位置履歴情報による被写体予測が不可能であるためにContinuousAFと同じ動作となるが、これはステップS404において狭いスキャン範囲が設定され、レリーズタイムラグが短くなることを期待している。従って、連写モード時にはContinuousAFモードをデフォルト設定とすると良い。   If it is determined that the continuous shooting mode is set in step S401 and the process proceeds to step S412, whether or not it is the first continuous shooting is checked. If it is the first continuous shooting, the process proceeds to step S403. If so, the process proceeds to step S413. The first continuous shot has the same operation as Continuous AF because the subject cannot be predicted based on the in-focus position history information, but this is expected to set a narrow scan range in step S404 and shorten the release time lag. is doing. Therefore, the continuous AF mode may be set as a default setting in the continuous shooting mode.

連写1枚目でないとしてステップS413へ進むと、連写撮影の2枚目であるかどうか調べ、連写2枚目であればステップS414へ進み、連写2枚目でなければステップS415へ進む。   If it is determined that it is not the first continuous shooting, the process proceeds to step S413 to check whether it is the second continuous shooting. If it is the second continuous shooting, the process proceeds to step S414. If it is not the second continuous shooting, the process proceeds to step S415. move on.

連写2枚目であるとしてステップS414へ進むと、連写1枚目撮影時のフォーカスレンズ位置をスキャン範囲中心として設定する。スキャン範囲幅は連写の時間間隔を延ばさないことを優先して設定すると、バッファ用途のDRAM113に余裕がある状態における連写撮影間隔内にAF動作が終了するスキャン範囲幅設定を、最大スキャン範囲幅設定となる。このステップS414では、被写体移動に関する情報が全く無いため、前記最大スキャン範囲幅を設定する。具体的には、後述する図7のフローチャートによる合焦判定が可能なスキャンデータ数を得る時間と、スキャン開始位置への移動時間およびスキャン終了後合焦位置への移動時間と、各種演算時間の合計時間が、連写間隔時間よりも短くなるように設定する。   If the process proceeds to step S414 assuming that it is the second continuous shooting, the focus lens position at the time of first continuous shooting is set as the center of the scan range. If the priority is set not to extend the continuous shooting time interval, the scan range width is set so that the AF operation is completed within the continuous shooting interval when the DRAM 113 for buffering has a margin. The width is set. In this step S414, since there is no information regarding subject movement, the maximum scan range width is set. Specifically, the time for obtaining the number of scan data that can be determined in focus according to the flowchart of FIG. 7 to be described later, the movement time to the scan start position, the movement time to the focus position after the scan, and various calculation times The total time is set to be shorter than the continuous shooting interval time.

連写2枚目でないとしてステップS415へ進むと、今度は連写撮影の3枚目であるかどうかを調べ、連写3枚目であればステップS416へ進む。そして、このステップS416では、合焦位置履歴情報として連写1枚目と2枚目の2つの合焦位置情報(FP1、FP2)があるので、式(1)の1次近似により被写体予測を行ってスキャン中心位置ObjP3を求める。   If it is determined that it is not the second continuous shooting, the process proceeds to step S415, where it is checked whether it is the third continuous shooting, and if it is the third continuous shooting, the process proceeds to step S416. In step S416, since there are two focus position information (FP1, FP2) for the first and second continuous shots as the focus position history information, subject prediction is performed by linear approximation of equation (1). Then, the scan center position ObjP3 is obtained.

ObjP3=FP2+(FP2−FP1)×FpAdj3 ・・・(1)
ここで、パラメータFpAdj(n)は、被写体予測結果と直前の合焦位置の重み付け設定のパラメータであり、0〜1の値をとる。図5のフォーカスレンズ位置ではFpAdj(n)=1としている。
ObjP3 = FP2 + (FP2-FP1) × FpAdj3 (1)
Here, the parameter FpAdj (n) is a parameter for setting the weighting of the subject prediction result and the previous in-focus position, and takes a value of 0 to 1. FpAdj (n) = 1 is set at the focus lens position in FIG.

連写3枚目でない場合はステップS415からステップS417へ進む。合焦位置履歴情報として少なくとも直前3枚の合焦位置情報(FP1、FP2、FP3)があるので、式(2)の2次近似により被写体予測を行ってスキャン中心位置ObjP4を求める(図5参照)。   If it is not the third continuous shot, the process advances from step S415 to step S417. Since there is at least three pieces of in-focus position information (FP1, FP2, FP3) as the in-focus position history information, subject prediction is performed by quadratic approximation of Equation (2) to obtain the scan center position ObjP4 (see FIG. 5). ).

ObjP4=(FP1−3・FP2+3・FP3)×FpAdj4+FP3
×(1−FpAdj4)
=(FP1−3・FP2+2・FP3)×FpAdj4+FP3 ・・・(2)
次のステップS418では、後述する図6のフローチャートに従ってスキャンを行い、上記したステップS409以降の処理へ進む。
ObjP4 = (FP1−3 · FP2 + 3 · FP3) × FpAdj4 + FP3
× (1-FpAdj4)
= (FP1-3 · FP2 + 2 · FP3) × FpAdj4 + FP3 (2)
In the next step S418, scanning is performed according to the flowchart of FIG. 6 to be described later, and the process proceeds to the above-described step S409 and subsequent steps.

連写2枚目以降においては、後述する図7のフローチャートによる合焦判定結果が×となるような場合でも、定点へフォーカスレンズ104を駆動して撮影するよりも、前回の合焦位置付近に設定されたスキャン範囲におけるピーク位置で撮影した方がボケない可能性が高いため、合焦判定処理は行わない。と同時に、合焦表示も行わない。ここで、上記スキャン範囲は、後述の合焦判定に必要なスキャンポイント数を満たすように、またスキャンに要する時間が不必要に長くならないように設定される。   In the second and subsequent sequential shots, even when the focus determination result in the flowchart of FIG. 7 to be described later is x, the focus lens 104 is driven to a fixed point and the vicinity of the previous focus position is taken rather than shooting. Since it is more likely that the image is captured at the peak position in the set scan range, the focus determination process is not performed. At the same time, no focus display is performed. Here, the scan range is set so as to satisfy the number of scan points necessary for focus determination described later, and so that the time required for the scan does not become unnecessarily long.

次に、図4のステップS406もしくはステップS418におけるスキャンのサブルーチンについて、図6のフローチャートにより説明する。   Next, the scanning subroutine in step S406 or step S418 in FIG. 4 will be described with reference to the flowchart in FIG.

まずステップS601では、フォーカスレンズ104をスキャン開始位置に移動する。スキャン開始位置は設定されたスキャン範囲の一端に設定される。次のステップS602では、撮影画面内に設定されるAF領域の焦点評価値とフォーカスレンズ104の位置をシステム制御部115に内蔵される図示しない演算メモリに記憶する。続くステップS603では、フォーカスレンズ位置がスキャン終了位置にあるかどうかを調べ、スキャン終了位置であればステップS605へ進み、そうでなければステップS604へ進む。上記スキャン終了位置は、設定されたスキャン範囲の他端に設定される。   First, in step S601, the focus lens 104 is moved to the scan start position. The scan start position is set at one end of the set scan range. In the next step S602, the focus evaluation value of the AF area and the position of the focus lens 104 set in the shooting screen are stored in a calculation memory (not shown) built in the system control unit 115. In the following step S603, it is checked whether or not the focus lens position is at the scan end position. If it is the scan end position, the process proceeds to step S605. Otherwise, the process proceeds to step S604. The scan end position is set at the other end of the set scan range.

ステップS604へ進んだ場合は、フォーカスレンズ104を駆動して所定の方向へ所定量動かす。また、ステップS605へ進んだ場合は、ステップS602で記憶した焦点評価値とそのレンズ位置から、焦点評価値のピーク位置を計算する。   When the process proceeds to step S604, the focus lens 104 is driven and moved in a predetermined direction by a predetermined amount. If the process proceeds to step S605, the peak position of the focus evaluation value is calculated from the focus evaluation value stored in step S602 and its lens position.

次に、図4のステップS407における合焦判定のサブルーチンについて、図7〜図10を参照しながら説明する。   Next, the focus determination subroutine in step S407 of FIG. 4 will be described with reference to FIGS.

焦点評価値は遠近競合などの特殊な場合を除けば、横軸にフォーカスレンズ位置、縦軸に焦点評価値をとると、その形は図10に示すような山状になる。そこで、焦点評価値が山状になっているか否かを、焦点評価値の最大値と最小値の差、一定値(SlopeThr)以上の傾きで傾斜している部分の長さ、傾斜している部分の勾配から判定することにより、合焦判定を行うことができる。合焦判定における判定結果は、以下に示すように○×で出力される。   Except for special cases such as perspective competition, the focus evaluation value takes the position of the focus lens on the horizontal axis and the focus evaluation value on the vertical axis. Therefore, whether or not the focus evaluation value is mountain-shaped is determined by the difference between the maximum value and the minimum value of the focus evaluation value, the length of the inclined portion with an inclination of a certain value (SlopeThr) or more, and the inclination. Focus determination can be performed by determining from the gradient of the portion. The determination result in the focus determination is output as ◯ × as shown below.

○:焦点評価値のピーク位置から、被写体の焦点調節が可能である。     ○: The focus of the subject can be adjusted from the peak position of the focus evaluation value.

×:被写体のコントラストが不十分、もしくはスキャンした距離範囲外の距離に被写体が位置する。     X: The contrast of the subject is insufficient, or the subject is located at a distance outside the scanned distance range.

ここで、図10に示すように、山の頂上(A点)から傾斜が続いていると認められる点をD点、E点とし、D点とE点の幅を山の幅L、A点とD点の焦点評価値の差SL1とA点とE点の焦点評価値の差SL2の和(SL1+SL2)をSLとする。   Here, as shown in FIG. 10, points that are recognized to be inclined from the top of the mountain (point A) are D points and E points, and the widths of points D and E are the widths L and A of the mountains. The sum (SL1 + SL2) of the difference SL1 between the focus evaluation values at point D and point D and the difference SL2 between the focus evaluation values at point A and point E is SL.

まずステップS701では、焦点評価値の最大値maxと最小値min、及び最大値を与えるスキャンポイントioを求める。次のステップS702では、焦点評価値の山の幅を表す変数L、山の勾配を表す変数SLをともに零に初期化する。続くステップS703では、最大値を与えるスキャンポイントioがスキャンを行った所定範囲における遠側端の位置か否かを調べる。遠側端位置でないならばステップS704へ進み、無限遠方向への単調減少を調べる。遠側端位置であったならば、この処理をスキップしてステップS705に進む。   First, in step S701, the maximum value max and the minimum value min of the focus evaluation value, and the scan point io that gives the maximum value are obtained. In the next step S702, a variable L indicating the peak width of the focus evaluation value and a variable SL indicating the peak gradient are both initialized to zero. In a succeeding step S703, it is checked whether or not the scan point io giving the maximum value is the position of the far side end in the predetermined range where the scan is performed. If it is not the far end position, the process advances to step S704 to check for a monotonic decrease in the infinity direction. If it is the far end position, this process is skipped and the process proceeds to step S705.

ここで、上記ステップS704における無限遠方向への単調減少を調べる処理について、図8のフローチャートを用いて説明する。   Here, the processing for checking the monotonic decrease in the infinity direction in step S704 will be described with reference to the flowchart of FIG.

まずステップS801では、カウンタ変数iをioに初期化する。次のステップS802では、スキャンポイントiにおける焦点評価値の値d[i]と、iより1スキャンポイント分無限遠よりのスキャンポイントi−1における焦点評価値の値d[i−1]の差を一定値SlopeThrと比較する。d[i]−d[i−1]>=SlopeThrでなければ、無限遠方向への単調減少は生じていないと判定し、無限遠方向への単調減少をチェックする処理を終了して、ステップS802から図7のステップS705へ進む。   First, in step S801, a counter variable i is initialized to io. In the next step S802, the difference between the focus evaluation value d [i] at the scan point i and the focus evaluation value d [i-1] at the scan point i-1 that is one scan point from i at infinity. Is compared with a fixed value SlopeThr. If d [i] −d [i−1]> = SlopeThr, it is determined that no monotonic decrease in the infinity direction has occurred, and the process of checking the monotonic decrease in the infinity direction is terminated. The process advances from step S802 to step S705 in FIG.

一方、d[i]−d[i−1]>=SlopeThrであれば、無限遠方向への単調減少が生じていると判定し、ステップS803に進む。ここでは、焦点評価値が一定値以上の傾きで傾斜している部分の長さ(山の幅)を表す変数L、単調減少区間における減少量を表す変数SLを以下の式に従い更新する。   On the other hand, if d [i] -d [i-1]> = SlopeThr, it is determined that a monotonous decrease in the infinity direction has occurred, and the process proceeds to step S803. Here, the variable L representing the length (mountain width) of the portion where the focus evaluation value is inclined with a slope equal to or greater than a certain value, and the variable SL representing the amount of decrease in the monotonically decreasing section are updated according to the following equations.

L =L+1
SL=SL+(d[i]−d[i−1])
そして、無限遠方向への単調減少をチェックする処理を継続する場合はステップS804へ進み、i=i−1として、検出をする点を1スキャンポイント無限遠側に移す。次のステップS805では、カウンタiがスキャンを行った所定範囲における遠側端位置の値(=0)になったかどうかをチェックする。カウンタiの値が0、すなわち単調減少を検出する開始点がスキャンを行った所定範囲における遠側端位置に達したならば、無限遠方向への単調減少をチェックする処理を終了して、図7のステップS705へ進む。
L = L + 1
SL = SL + (d [i] -d [i-1])
When the process of checking the monotonic decrease in the infinity direction is continued, the process proceeds to step S804, and i = i-1 is set, and the point to be detected is moved to the one scan point infinity side. In the next step S805, it is checked whether or not the counter i has reached the value (= 0) of the far end position in the predetermined range in which scanning has been performed. When the value of the counter i is 0, that is, when the start point for detecting the monotonic decrease has reached the far end position in the predetermined range where the scan has been performed, the processing for checking the monotonic decrease in the infinity direction is terminated, and FIG. The process proceeds to step S705 of FIG.

以上のようにしてi=ioから無限遠方向への単調減少をチェックする。   As described above, the monotonic decrease from i = io to infinity is checked.

図7に戻り、ステップS705では、最大値を与えるスキャンポイントioがスキャンを行った所定範囲における至近端の位置か否かを調べ、至近端位置でないならばステップS706へ進み、至近端方向への単調減少を調べる。至近端位置であったならば、この処理をスキップしてステップS707に進む。   Returning to FIG. 7, in step S705, it is checked whether or not the scan point io giving the maximum value is the position of the nearest end in the predetermined range where the scan is performed. If it is not the nearest end position, the process proceeds to step S706. Examine the monotonic decrease in direction. If it is the close end position, this process is skipped and the process proceeds to step S707.

ここで、上記ステップS706における至近端方向への単調減少を調べる処理について、図9のフローチャートを用いて説明する。   Here, the processing for checking the monotonic decrease toward the closest end in step S706 will be described with reference to the flowchart of FIG.

まずステップS901では、カウンタ変数iをioに初期化する。次のステップS902では、スキャンポイントiにおける焦点評価値の値d[i]と、iより1スキャンポイント分至近端よりのスキャンポイントi+1における焦点評価値の値d[i+1]の差を所定値SlopeThrと比較する。d[i]−d[i+1]>=SlopeThrでなければ、至近端方向への単調減少は生じていないと判定し、至近端方向への単調減少をチェックする処理を終了して、図7のステップS707へ進む。   First, in step S901, the counter variable i is initialized to io. In the next step S902, the difference between the focus evaluation value d [i] at the scan point i and the focus evaluation value d [i + 1] at the scan point i + 1 from the nearest end by one scan point from i is a predetermined value. Compare with SlopeThr. If d [i] −d [i + 1]> = SlopeThr, it is determined that no monotonic decrease in the closest end direction has occurred, and the processing for checking the monotonic decrease in the close end direction is terminated. The process proceeds to step S707 of FIG.

一方、d[i]−d[i+1]>=SlopeThrであれば、至近端方向への単調減少が生じていると判定し、ステップS903に進む。ここでは、焦点評価値が一定値以上の傾きで傾斜している部分の長さ(山の幅)を表す変数L、単調減少区間における減少量を表す変数SLを以下の式に従い更新する。   On the other hand, if d [i] −d [i + 1]> = SlopeThr, it is determined that a monotonic decrease in the closest end direction has occurred, and the process proceeds to step S903. Here, the variable L representing the length (mountain width) of the portion where the focus evaluation value is inclined with a slope equal to or greater than a certain value, and the variable SL representing the amount of decrease in the monotonically decreasing section are updated according to the following equations.

L =L+1
SL=SL+(d[i]−d[i+1])
そして、至近端方向への単調減少をチェックする処理を継続する場合はステップS904へ進み、i=i+1として、検出をする点を1スキャンポイント至近端側に移す。次のステップS905では、カウンタiがスキャンを行った所定範囲における至近端位置の値(=N)になったかどうかをチェックする。カウンタiの値がN、すなわち単調減少を検出する開始点がスキャンを行った所定範囲における至近端位置に達したならば、至近端方向への単調減少をチェックする処理を終了して、図7のステップS707へ進む。
L = L + 1
SL = SL + (d [i] -d [i + 1])
When the process of checking the monotonic decrease toward the closest end is continued, the process proceeds to step S904, where i = i + 1 is set, and the point to be detected is moved to the one scan point closest end. In the next step S905, it is checked whether or not the counter i has reached the value (= N) of the closest end position in a predetermined range in which scanning has been performed. When the value of the counter i is N, that is, when the starting point for detecting the monotonic decrease has reached the closest end position in the predetermined range where the scan is performed, the processing for checking the monotonic decrease in the near end direction is terminated, Proceed to step S707 in FIG.

以上のようにしてi=ioから至近端方向への単調減少をチェックする。   As described above, the monotonic decrease from i = io toward the near end is checked.

無限遠方向および至近端方向への単調減少をチェックする処理が終了したならば、以下のように、得られた焦点評価値が山状になっているか否か、諸係数をそれぞれのしきい値と比較し、○×の判定を行う。   When the process of checking the monotonic decrease in the infinity direction and the near-end direction is completed, whether or not the obtained focus evaluation value has a mountain shape is as follows. Compare with the value and make a judgment of ○ ×.

つまり、図7のステップS707では、焦点評価値の最大値を与えるスキャンポイントioがスキャンを行った所定範囲における至近端であり、かつ至近端スキャンポイントnにおける焦点評価値の値d[n]と、nより1スキャンポイント分無限遠よりのスキャンポイントn−1における焦点評価値の値d[n−1]の差が、一定値SlopeThr以上であればステップS711へ進み、そうでなければステップS708へ進む。ステップS708では、焦点評価値の最大値を与えるスキャンポイントioがスキャンを行った所定範囲における遠側端であり、かつ遠側端スキャンポイント0における焦点評価値の値d[0]と、0より1スキャンポイント分至近端よりのスキャンポイント1における焦点評価値の値d[1]の差が、一定値SlopeThr以上であればステップS711へ進み、そうでなければステップS709へ進む。   That is, in step S707 in FIG. 7, the scan point io that gives the maximum focus evaluation value is the closest end in the predetermined range where the scan was performed, and the value d [n of the focus evaluation value at the closest end scan point n. ] And the focus evaluation value d [n−1] at the scan point n−1 from infinity by one scan point from n is greater than or equal to a certain value SlopeThr, the process proceeds to step S711. Proceed to step S708. In step S708, the scan point io giving the maximum focus evaluation value is the far end in the predetermined range where the scan was performed, and the focus evaluation value d [0] at the far end scan point 0 is 0. If the difference in the focus evaluation value d [1] at the scan point 1 from the closest end for one scan point is greater than or equal to a certain value SlopeThr, the process proceeds to step S711, otherwise the process proceeds to step S709.

ステップS709では、一定値以上の傾きで傾斜している部分の長さLが所定値Lo以上であり、かつ傾斜している部分の傾斜の平均値SL/Lが所定値SLo/Lo以上であり、かつ焦点評価値の最大値と最小値の差が所定値以上であれば、ステップS710へ進み、そうでなければステップS711へ進む。ステップS710では、得られた焦点評価値が山状となっていて、被写体の焦点調節が可能であるため判定結果を○としている。また、ステップS711では、得られた焦点評価値が山状となっておらず、被写体の焦点調節が不可能であるため判定結果を×としている。   In step S709, the length L of the portion inclined with a gradient equal to or greater than a certain value is equal to or greater than a predetermined value Lo, and the average value SL / L of the gradient of the inclined portion is equal to or greater than the predetermined value SLo / Lo. If the difference between the maximum value and the minimum value of the focus evaluation values is greater than or equal to the predetermined value, the process proceeds to step S710, and if not, the process proceeds to step S711. In step S710, the obtained focus evaluation value has a mountain shape, and the focus of the subject can be adjusted. In step S711, the obtained focus evaluation value is not mountain-shaped and the focus of the subject cannot be adjusted, so the determination result is x.

以上のようにして、図4のフローチャートにおけるステップS407の合焦判定を行う。   As described above, the focus determination in step S407 in the flowchart of FIG. 4 is performed.

次に、図11のフローチャートを参照しながら図2のフローチャートにおけるステップS212の撮影動作のサブルーチンを説明する。   Next, a subroutine for the photographing operation in step S212 in the flowchart of FIG. 2 will be described with reference to the flowchart of FIG.

まず、ステップS1101では、被写体輝度を測定する。次のステップS1102では、ステップS1101で測定した被写体輝度に応じて撮像素子108への露光を行う。撮像素子面上に結像された像は光電変換されてアナログ信号となり、次のステップS1103にて、A/D変換部109へと送られ、撮像素子108の出力ノイズ除去や非線形処理などの前処理の後にデジタル信号に変換される。続くステップS1104では、A/D変換部109からの出力信号をWB処理部111によりホワイトバランス調整し、画像処理部110で適正な出力画像信号とする。そして、ステップS1105にて、出力画像信号をフォーマット変換部112でJPEGフォーマット等への画像フォーマット変換を行い、DRAM113に一時的に記憶する。次のステップS1106では、DRAM113内のデータを画像記録部114にてカメラ内のメモリ、またはカメラに装着されたメモリカードなどの外部記憶媒体へと転送し、記憶する。   First, in step S1101, subject brightness is measured. In the next step S1102, the image sensor 108 is exposed according to the subject brightness measured in step S1101. The image formed on the surface of the image sensor is photoelectrically converted into an analog signal, which is sent to the A / D converter 109 in the next step S1103, before output noise removal or nonlinear processing of the image sensor 108 is performed. After processing, it is converted into a digital signal. In the subsequent step S1104, the output signal from the A / D conversion unit 109 is subjected to white balance adjustment by the WB processing unit 111, and an appropriate output image signal is obtained by the image processing unit 110. In step S 1105, the output image signal is converted into an image format such as a JPEG format by the format converter 112 and temporarily stored in the DRAM 113. In the next step S1106, the data in the DRAM 113 is transferred by the image recording unit 114 to an external storage medium such as a memory in the camera or a memory card attached to the camera and stored therein.

以上の実施例1によれば、連写モード時には、前回以前の連続撮影時のフォーカスレンズ104の位置に基づいて今回撮影時の被写体距離を予測している。そして、該予測した被写体距離を中心とした前後の狭い範囲でフォーカスレンズ104のスキャン動作を行う。そして、該スキャン動作により得られる焦点評価値が最大になるように前記フォーカスレンズの位置を調節して、今回の連続撮影を行わせるようにしている。よって、連写撮影時においても、動く被写体にピントを合わせつづけることが可能となる。換言すれば、それまでの合焦位置の履歴に基づき被写体移動予測を行い、スキャン範囲の中心とスキャン範囲幅を設定することにより、動く被写体への追従性を向上させた電子カメラとすることができる。   According to the first embodiment described above, in the continuous shooting mode, the subject distance at the time of the current shooting is predicted based on the position of the focus lens 104 at the time of continuous shooting before the previous time. Then, the scanning operation of the focus lens 104 is performed in a narrow range before and after the predicted subject distance. The position of the focus lens is adjusted so that the focus evaluation value obtained by the scanning operation is maximized, so that the current continuous shooting is performed. Therefore, it is possible to keep the moving subject in focus even during continuous shooting. In other words, it is possible to obtain an electronic camera with improved followability to a moving subject by predicting subject movement based on the history of in-focus positions and setting the center of the scan range and the scan range width. it can.

上記実施例1では、等時間間隔で連写撮影を行った場合の動体予測AFについて記述した。しかし、等時間間隔で連写撮影を行っている途中でストロボの充電が必要になり、充電が完了するのを待つことで、次の撮影までの時間が長くなってしまう場合は、動体予測の精度が悪くなってしまう。   In the first embodiment, the moving object prediction AF when continuous shooting is performed at equal time intervals is described. However, if you need to charge the flash during continuous shooting at regular time intervals, and waiting for the charging to complete, the time until the next shooting will become longer. Accuracy will deteriorate.

そこで、本発明の実施例2では、等時間間隔で連写撮影を行っている途中で次の撮影までの時間が長くなってしまう場合であり、かつ、ストロボの充電完了待ちのように次の撮影までの間にAFが可能なときの動体予測AFについて説明する。以下、図面を参照しながら本発明の実施例2について説明する。なお、電子カメラの回路構成は図1と同様であるものとする。   Therefore, in the second embodiment of the present invention, it is a case where the time until the next shooting becomes long during continuous shooting at equal time intervals, and the next charging waits for the completion of the strobe charging. The moving object predictive AF when AF is possible before shooting will be described. Embodiment 2 of the present invention will be described below with reference to the drawings. The circuit configuration of the electronic camera is the same as that in FIG.

図12は本発明の実施例2に係わる電子カメラの一連の動作を示すフローチャートである。   FIG. 12 is a flowchart showing a series of operations of the electronic camera according to the second embodiment of the present invention.

まず、ステップS1201では、メインスイッチ122の状態を検出し、ONであればステップS1202へ進む。ここでメインスイッチ122の機能はシステムに電源を投入することである。ステップS1202では、画像記録部114の残容量を調べ、残容量が0であればステップS1203へ進み、そうでなければステップS1204へ進む。ステップS1203では、画像記録部114の残容量が0であることを警告してステップS1201に戻る。警告は操作表示部117に表示するか又は図示しない音声出力部から警告音を出すか、又はその両方を行ってもよい。   First, in step S1201, the state of the main switch 122 is detected, and if it is ON, the process proceeds to step S1202. Here, the function of the main switch 122 is to turn on the system. In step S1202, the remaining capacity of the image recording unit 114 is checked. If the remaining capacity is 0, the process proceeds to step S1203. Otherwise, the process proceeds to step S1204. In step S1203, a warning is given that the remaining capacity of the image recording unit 114 is 0, and the process returns to step S1201. The warning may be displayed on the operation display unit 117, a warning sound may be emitted from a voice output unit (not shown), or both may be performed.

画像記録部114の残容量があるとしてステップS1204へ進むと、AFモードがContinuousAFモードであるかSingleAFモードであるかを調べる。ContinuousAFモードであればステップS1205へ進み、SingleAFモードであればステップS1206へ進む。ステップS1205では、図3のフローチャートに従ってContinuousAFを行う。   If it is determined that there is a remaining capacity of the image recording unit 114 and the process proceeds to step S1204, it is checked whether the AF mode is the continuous AF mode or the single AF mode. If the mode is ContinuousAF mode, the process proceeds to step S1205. If the mode is SingleAF mode, the process proceeds to step S1206. In step S1205, Continuous AF is performed according to the flowchart of FIG.

次のステップS1206では、スイッチSW1の状態を調べ、ONであればステップS1208へ進み、そうでなければステップS1207へ進む。ここで、スイッチSW1の機能は、AFやAEなどの撮影スタンバイ動作を行うことである。ステップS1207では、メインスイッチ122の状態を調べ、ONであればステップS1204へ、そうでなければステップS1201へ、それぞれ戻る。   In the next step S1206, the state of the switch SW1 is checked. If it is ON, the process proceeds to step S1208, and if not, the process proceeds to step S1207. Here, the function of the switch SW1 is to perform a shooting standby operation such as AF or AE. In step S1207, the state of the main switch 122 is checked. If ON, the process returns to step S1204, and if not, the process returns to step S1201.

ステップS1208へ進むと、AE処理部103により画像処理部110の出力からAE処理を行う。そして、次のステップS1209にて、連写中のAFスキャンの回数を示すAFN=1と設定する。続くステップS1210では、後述する図13のフローチャートに従ってAF動作を行う。ステップS1211は、スイッチSW2の状態を調べ、ONであればステップS1214へ進み、そうでなければステップS1212へ進む。ここで、スイッチSW2の機能は上記スイッチSW1の操作後撮影を行うことである。   In step S1208, the AE processing unit 103 performs AE processing from the output of the image processing unit 110. In next step S1209, AFN = 1 indicating the number of AF scans during continuous shooting is set. In subsequent step S1210, an AF operation is performed in accordance with a flowchart of FIG. In step S1211, the state of the switch SW2 is checked, and if it is ON, the process proceeds to step S1214, and if not, the process proceeds to step S1212. Here, the function of the switch SW2 is to perform photographing after the operation of the switch SW1.

ステップS1212では、スイッチSW1の状態を調べ、ONでなければステップS1204へ戻り、ONであればステップS1213でAFN=2と設定してからステップS1211へ戻る。そして、スイッチSW2がONされるか、スイッチSW1がOFFされるまでフォーカスをロックする。   In step S1212, the state of the switch SW1 is checked. If it is not ON, the process returns to step S1204. If it is ON, AFN = 2 is set in step S1213, and the process returns to step S1211. Then, the focus is locked until the switch SW2 is turned on or the switch SW1 is turned off.

スイッチSW2がONであるとしてステップS1214へ進むと、図11のフローチャートに従って撮影動作を行う。次のステップS1215では、画像記録部114の残容量を調べ、残容量が0であればステップS1203へ進み、そうでなければステップS1216へ進む。ステップS1216では、ドライブモードスイッチ120により連写モードに設定されているか、または撮影モードスイッチ119により連写モードがデフォルト設定となる撮影モードに設定されているかを調べる。そして、連写モードであればステップS1218へ進み、そうでなければステップS1217へ進む。   If it is determined that the switch SW2 is ON and the process proceeds to step S1214, the photographing operation is performed according to the flowchart of FIG. In the next step S1215, the remaining capacity of the image recording unit 114 is checked. If the remaining capacity is 0, the process proceeds to step S1203. Otherwise, the process proceeds to step S1216. In step S1216, it is checked whether the continuous shooting mode is set by the drive mode switch 120, or whether the continuous shooting mode is set to the default shooting mode by the shooting mode switch 119. If it is the continuous shooting mode, the process proceeds to step S1218; otherwise, the process proceeds to step S1217.

ステップS1217へ進むと、スイッチSW2がONの間は撮影画像を操作表示部117に表示し、スイッチSW2がOFFであればステップS1212へ進む。また、ステップS1218へ進むと、スイッチSW2がONでなければステップS1212へ進み、ONであれば連写撮影のためステップS1210へ進み、後述する図13のフローチャートに従って連写時のAF動作へと進む。   In step S1217, the captured image is displayed on the operation display unit 117 while the switch SW2 is ON. If the switch SW2 is OFF, the process proceeds to step S1212. In step S1218, if the switch SW2 is not ON, the process proceeds to step S1212. If the switch SW2 is ON, the process proceeds to step S1210 for continuous shooting, and the process proceeds to an AF operation during continuous shooting according to the flowchart of FIG. .

以下、図12のステップS1210におけるAF動作のサブルーチンについて、図13のフローチャートに従って説明する。   Hereinafter, the AF operation subroutine in step S1210 of FIG. 12 will be described with reference to the flowchart of FIG.

まずステップS1301では、ストロボが充電中であるかどうかを示すStFlg=FALSEと設定する。そして、次のステップS1302にて、ドライブモードスイッチ120により連写モードに設定されているか、または撮影モードスイッチ119により連写モードがデフォルト設定となる撮影モードに設定されているかを調べる。その結果、連写モードであればステップS1315へ進み、そうでなければステップS1303へ進む。   First, in step S1301, StFlg = FALSE indicating whether or not the strobe is being charged. Then, in the next step S1302, it is checked whether the continuous shooting mode is set by the drive mode switch 120 or whether the continuous shooting mode is set to the default shooting mode by the shooting mode switch 119. As a result, if the continuous shooting mode is selected, the process proceeds to step S1315; otherwise, the process proceeds to step S1303.

ステップS1303へ進むと、AFモードスイッチ121によりAFモード設定がContinuousAFモードであるかSingleAFモードであるかを調べ、ContinuousAFモードであればステップS1304へ進み、SingleAFモードであればステップS1306へ進む。ステップS1304では、図3のフローチャートにおけるピーク検出フラグがTRUEであるかどうかを調べ、TRUEであればステップS1305へ進み、FALSEであればステップS1306へ進む。   In step S1303, the AF mode switch 121 checks whether the AF mode setting is the continuous AF mode or the single AF mode. If the AF mode switch 121 is the continuous AF mode, the process proceeds to step S1304. If the AF mode switch is the single AF mode, the process proceeds to step S1306. In step S1304, it is checked whether or not the peak detection flag in the flowchart of FIG. 3 is TRUE. If it is TRUE, the process proceeds to step S1305, and if it is FALSE, the process proceeds to step S1306.

ステップS1305へ進むと、ContinuousAF動作により焦点評価値がピークを示す合焦位置付近にフォーカスレンズ104が位置するため、合焦精度を向上させることを主な目的として現在のフォーカスレンズ位置を中心とした狭いスキャン範囲を設定する。ここで、スキャン範囲は、図7のフローチャートによる合焦判定に必要なスキャンデータ数を満たすと同時に、スキャン時間が不必要に長くならないように設定する。一方、ステップS1306へ進んだ場合は、設定されたモードにおけるAF可能範囲全域をスキャン範囲に設定する。   In step S1305, the focus lens 104 is positioned near the focus position where the focus evaluation value shows a peak due to the continuous AF operation. Therefore, the focus lens position is mainly used to improve the focus accuracy. Set a narrow scan range. Here, the scan range is set so as to satisfy the number of scan data necessary for focus determination according to the flowchart of FIG. 7 and at the same time, the scan time does not become unnecessarily long. On the other hand, if the process proceeds to step S1306, the entire AF possible range in the set mode is set as the scan range.

次のステップS1307では、図6のフローチャートに従って、ステップS1305もしくはステップS1306で設定されたスキャン範囲のスキャンを行う。次のステップS1308では、ステップS1307で記憶したスキャンデータにより図7のフローチャートにしたがって合焦判定を行う。続くステップS1309では、ステップS1308における合焦判定の結果が○であればステップS1310へ進み、AFN=AFN+1とした後、ステップS1311へ進む。ステップS1311では、ステップS1307または後述のステップS1324のスキャンにおいて計算したピーク位置へフォーカスレンズ104を移動する。その後は後述のステップS1325へ進む。   In the next step S1307, the scan of the scan range set in step S1305 or step S1306 is performed according to the flowchart of FIG. In the next step S1308, in-focus determination is performed according to the flowchart of FIG. 7 based on the scan data stored in step S1307. In subsequent step S1309, if the result of focus determination in step S1308 is ◯, the process proceeds to step S1310. After setting AFN = AFN + 1, the process proceeds to step S1311. In step S1311, the focus lens 104 is moved to the peak position calculated in step S1307 or the scan in step S1324 described later. Thereafter, the process proceeds to step S1325 described later.

また、合焦判定の結果が×であればステップS1309からステップS1312へ進む。そして、ここでは設定されたモードにおけるAF可能範囲全域のスキャンが済んでいるかを調べ、全域スキャン済みであればステップS1313へ進み、ここでAFN=AFN+1とする。その後はステップS1314へ進み、定点と呼ばれるあらかじめ設定された位置へフォーカスレンズ104を移動し、図12のフローチャートへリターンする。また、全域スキャン未完了であればステップS1312からステップS1307へ進む。   If the focus determination result is x, the process advances from step S1309 to step S1312. Then, it is checked whether or not the entire AF possible range in the set mode has been scanned. If the entire range has been scanned, the process proceeds to step S1313, where AFN = AFN + 1. Thereafter, the process proceeds to step S1314, the focus lens 104 is moved to a preset position called a fixed point, and the process returns to the flowchart of FIG. If the entire area scan is not completed, the process advances from step S1312 to step S1307.

上記ステップS1302にて連写モードであった場合は上記のようにステップS1315へ進む。そして、連写中のAF回数を示すAFNが1であるかどうか調べ、AFN=1であればステップS1304へ進み、AFN=1でなければステップS1316へ進む。連写1枚目は、合焦位置履歴情報による被写体予測が不可能であるためにContinuousAFと同じ動作となるが、これはステップS1305において狭いスキャン範囲が設定され、レリーズタイムラグが短くなることを期待している。従って、連写モード時にはContinuousAFモードをデフォルト設定とすると良い。   If the continuous shooting mode is set in step S1302, the process proceeds to step S1315 as described above. Then, it is checked whether or not AFN indicating the number of AFs during continuous shooting is 1. If AFN = 1, the process proceeds to step S1304, and if not AFN = 1, the process proceeds to step S1316. The first continuous shot has the same operation as Continuous AF because the subject cannot be predicted based on the in-focus position history information, but this is expected to set a narrow scan range in step S1305 and shorten the release time lag. is doing. Therefore, the continuous AF mode may be set as a default setting in the continuous shooting mode.

ステップS1316へ進むと、AFN=2であるかどうか調べ、AFN=2であればステップS1317へ進み、AFN=2でなければステップS1318へ進む。ステップS1317では、連写1枚目撮影フォーカスレンズ位置をスキャン範囲中心として設定する。スキャン範囲幅は連写間隔時間を延ばさないことを優先して設定すると、バッファ用途のDRAM113に余裕がある状態における連写撮影間隔内にAF動作が終了するスキャン範囲幅設定が、最大スキャン範囲幅設定となる。このステップS1317では、被写体移動に関する情報が全く無いため、前記最大スキャン範囲幅を設定する。具体的には、図7のフローチャートによる合焦判定が可能なスキャンデータ数を得る時間と、スキャン開始位置への移動時間およびスキャン終了後合焦位置への移動時間と、各種演算時間の合計時間が連写間隔時間よりも短くなるように設定する。   In step S1316, it is checked whether AFN = 2. If AFN = 2, the process proceeds to step S1317. If not AFN = 2, the process proceeds to step S1318. In step S1317, the position of the first-shooting focus lens for continuous shooting is set as the center of the scan range. If the scan range width is set so as not to extend the continuous shooting interval time, the maximum scan range width is set so that the AF operation ends within the continuous shooting interval when there is a margin in the DRAM 113 for buffer use. Setting. In this step S1317, since there is no information about subject movement, the maximum scan range width is set. Specifically, the time for obtaining the number of scan data that can be determined in focus according to the flowchart of FIG. 7, the time for moving to the scan start position, the time for moving to the focus position after the scan, and the total calculation time Is set to be shorter than the continuous shooting interval time.

AFN=2でないとしてステップS1318へ進むと、次回撮影時にストロボ106を発光させるだけの電力が充電されているかどうかを調べる。充電完了待ちであればステップS1319でStFlg=TRUEと設定して、ステップS1321へ進む。充電されていればステップS1320でStFlg=FALSEと設定して、ステップS1321へ進む。ステップS1321では、AFN=3であるかどうか調べ、AFN=3であればステップS1322へ進み、AFN=3でなければステップS1323へ進む。   If it is determined that AFN = 2 is not satisfied, the process advances to step S1318 to check whether or not power sufficient to cause the strobe 106 to emit light is charged in the next shooting. If it is waiting for completion of charging, StFlg = TRUE is set in step S1319, and the process proceeds to step S1321. If it is charged, StFlg = FALSE is set in step S1320, and the process proceeds to step S1321. In step S1321, whether AFN = 3 is checked. If AFN = 3, the process proceeds to step S1322, and if AFN = 3, the process proceeds to step S1323.

AFN=3であるとしてステップS1322へ進むと、合焦位置履歴情報として連写1枚目、2枚目の2つの合焦位置情報(FP1,FP2)があるので、式(3)の1次近似により被写体予測を行ってスキャン中心位置ObjP3を求める。   If AFN = 3 and the process proceeds to step S1322, the in-focus position history information includes two pieces of in-focus position information (FP1, FP2) for the first and second continuous shots. The subject is predicted by approximation to obtain the scan center position ObjP3.

ObjP3=FP2+(FP2−FP1)×FpAdj3 ・・・(3)
ここで、パラメータFpAdj(n)は、被写体予測結果と直前の合焦位置の重み付け設定のパラメータであり、0〜1の値をとる。図5のフォーカスレンズ位置ではFpAdj(n)=1としている。
ObjP3 = FP2 + (FP2-FP1) × FpAdj3 (3)
Here, the parameter FpAdj (n) is a parameter for setting the weighting of the subject prediction result and the previous in-focus position, and takes a value of 0 to 1. FpAdj (n) = 1 is set at the focus lens position in FIG.

また、ステップS1323へ進むと、合焦位置履歴情報として少なくとも直前3枚の合焦位置情報(FP1,FP2,FP3)があるので、式(4)の2次近似により被写体予測を行ってスキャン中心位置ObjP4を求める。   In step S 1323, since there are at least three pieces of in-focus position information (FP 1, FP 2, FP 3) as in-focus position history information, subject prediction is performed by quadratic approximation of equation (4), and the scan center. The position ObjP4 is obtained.

ObjP4=(FP1−3・FP2+3・FP3)×FpAdj4+FP3
×(1−FpAdj4)
=(FP1−3・FP2+2・FP3)×FpAdj4+FP3 ・・・(4)
そして、次のステップS1324では、図6のフローチャートに従ってスキャンを行い、ステップS1310へ進んでAFN=AFN+1とした後、ステップS1311へと進む。
ObjP4 = (FP1−3 · FP2 + 3 · FP3) × FpAdj4 + FP3
× (1-FpAdj4)
= (FP1-3 · FP2 + 2 · FP3) × FpAdj4 + FP3 (4)
Then, in the next step S1324, scanning is performed according to the flowchart of FIG. 6, the process proceeds to step S1310, AFN = AFN + 1 is set, and then the process proceeds to step S1311.

連写2枚目以降においては、図7のフローチャートによる合焦判定結果が×となるような場合でも、定点へフォーカスレンズ104を駆動して撮影するよりも、前回の合焦位置付近に設定されたスキャン範囲におけるピーク位置で撮影した方がボケない可能性が高いため、合焦判定処理は行わない。と同時に、合焦表示も行わない。ここで、前記スキャン範囲は、後述の合焦判定に必要なスキャンポイント数を満たすように、またスキャンに要する時間が不必要に長くならないように設定される。   In the second and subsequent shots, even when the focus determination result in the flowchart of FIG. 7 is x, it is set near the previous focus position rather than shooting by driving the focus lens 104 to a fixed point. Since it is more likely that the image is captured at the peak position in the scan range, the focus determination process is not performed. At the same time, no focus display is performed. Here, the scan range is set so as to satisfy the number of scan points necessary for focus determination described later, and so as not to unnecessarily increase the time required for the scan.

上記ステップS1310,S1311を介してステップS1325へ進むと、StFlg=TRUEであるかどうかを調べ、StFlg=TRUEであればステップS1318へ進み、StFlg=TRUEでなければAF動作のサブルーチンを終了する。   When the process proceeds to step S1325 via steps S1310 and S1311, it is checked whether or not StFlg = TRUE. If StFlg = TRUE, the process proceeds to step S1318. If StFlg = TRUE, the subroutine of the AF operation is terminated.

StFlg=TRUEとなっているときのステップS1322、ステップS1323でのスキャン幅には、最後にStFlg=FALSEとなっていたときのスキャン幅を設定する。   For the scan width in steps S1322 and S1323 when StFlg = TRUE, the scan width when StFlg = FALSE is set last.

以上の実施例2によれば、等時間間隔で連写している途中でストロボ充電完了待ちによって撮影ができずに次の撮影までの時間間隔が長くなってしまう場合でも、等時間間隔でAFスキャンを行い続けることで、次の撮影において動体に追従させることができ、動体予測を続けることが可能となる。   According to the second embodiment described above, AF scanning is performed at equal time intervals even when continuous shooting at equal time intervals is not possible due to the completion of strobe charging and the time interval until the next shooting becomes longer. By continuing to, the moving object can be followed in the next shooting, and the moving object prediction can be continued.

上記実施例2では、等時間間隔で連写撮影を行っている途中で、次の撮影までの時間が長くなってしまう場合において、次の撮影までの間にAFが可能な場合の例について述べた。しかし、次の撮影までの間にAFが不可能な場合(例えばバッファメモリがフルになった場合)には、上記実施例2を用いても動体予測を続けることができない。   In the second embodiment, an example in which AF is possible before the next shooting when the time until the next shooting becomes long during continuous shooting at regular time intervals will be described. It was. However, when AF is not possible before the next shooting (for example, when the buffer memory is full), the moving object prediction cannot be continued using the second embodiment.

そこで、本発明の実施例3では、等時間間隔で連写撮影を行っている途中で、次の撮影までの時間が長くなってしまう場合において、次の撮影の直前までAFが不可能な場合の例について説明する。本実施例3では、上記実施例2における図12におけるステップS1210の「AF動作」及びステップS1214の「撮影」においてのみ実施例2と異なる。   Therefore, in the third embodiment of the present invention, when continuous shooting is performed at regular time intervals and the time until the next shooting becomes long, AF is not possible until immediately before the next shooting. An example will be described. The third embodiment is different from the second embodiment only in “AF operation” in step S1210 and “shooting” in step S1214 in FIG.

以下、図12のステップS1210におけるAF動作におけるサブルーチンについて、図14及び図15を参照しながら説明する。   Hereinafter, the subroutine in the AF operation in step S1210 of FIG. 12 will be described with reference to FIGS.

図14は、本発明の実施例3に係わる電子カメラのAF動作を示すフローチャートであり、図15は撮影動作を示すフローチャートである。   FIG. 14 is a flowchart showing the AF operation of the electronic camera according to the third embodiment of the present invention, and FIG. 15 is a flowchart showing the photographing operation.

まずステップS1401では、ドライブモードスイッチ120により連写モードに設定されているか、または撮影モードスイッチ119により連写モードがデフォルト設定となる撮影モードに設定されているかを調べる。そして、連写モードであればステップS1412へ進み、そうでなければステップS1402へ進む。   First, in step S1401, it is checked whether the continuous shooting mode is set by the drive mode switch 120, or whether the continuous shooting mode is set to the default shooting mode by the shooting mode switch 119. If it is the continuous shooting mode, the process proceeds to step S1412; otherwise, the process proceeds to step S1402.

ステップS1402へ進むと、AFモードスイッチ121によりAFモード設定がContinuousAFモードであるかSingleAFモードであるかを調べる。その結果、ContinuousAFモードであればステップS1403へ進み、SingleAFモードであればステップS1405へ進む。ステップS1403では、図3のフローチャートにおけるピーク検出フラグがTRUEであるかどうかを調べ、TRUEであればステップS1404へ進み、FALSEであればステップS1405へ進む。   In step S1402, the AF mode switch 121 checks whether the AF mode setting is the continuous AF mode or the single AF mode. As a result, if the continuous AF mode is selected, the process proceeds to step S1403. If the single AF mode is selected, the process proceeds to step S1405. In step S1403, it is checked whether or not the peak detection flag in the flowchart of FIG. 3 is TRUE. If it is TRUE, the process proceeds to step S1404, and if it is FALSE, the process proceeds to step S1405.

ステップS1404へ進むと、ContinuousAF動作により焦点評価値がピークを示す合焦位置付近にフォーカスレンズが位置するため、合焦精度を向上させることを主な目的として現在のフォーカスレンズ位置を中心とした狭いスキャン範囲を設定する。ここで、スキャン範囲は、図7のフローチャートによる合焦判定に必要なスキャンデータ数を満たすと同時に、スキャン時間が不必要に長くならないように設定する。一方、ステップS1405へ進んだ場合は、設定されたモードにおけるAF可能範囲全域をスキャン範囲に設定する。   In step S1404, the focus lens is positioned near the focus position where the focus evaluation value exhibits a peak due to the continuous AF operation. Therefore, the focus lens is narrow with a focus on the current focus lens position as a main purpose. Set the scan range. Here, the scan range is set so as to satisfy the number of scan data necessary for focus determination according to the flowchart of FIG. 7 and at the same time, the scan time does not become unnecessarily long. On the other hand, if the processing proceeds to step S1405, the entire AF possible range in the set mode is set as the scan range.

次のステップS1406では、図6のフローチャートに従って、ステップS1405もしくはステップS1406で設定されたスキャン範囲のスキャンを行う。そして、次のステップS1407では、ステップS1406で記憶したスキャンデータにより図7のフローチャートにしたがって合焦判定を行う。続くステップS1408では、ステップS1407における合焦判定の結果が○であればステップS1409へ進み、×であればステップS1410へ進む。ステップS1410では、設定されたモードにおけるAF可能範囲全域のスキャンが済んでいるかを調べ、全域スキャン済みであればステップS1406へ進み、全域スキャン未完了であればステップS1411へ進む。ステップS1411では、定点と呼ばれるあらかじめ設定された位置へフォーカスレンズ104を移動する。また、ステップS1409へ進むと、ステップS1406または後述のステップS1421のスキャンにおいて計算したピーク位置へフォーカスレンズ104を移動する。そして、後述のステップS1422へ進む。   In the next step S1406, scanning of the scan range set in step S1405 or step S1406 is performed according to the flowchart of FIG. In the next step S1407, in-focus determination is performed according to the flowchart of FIG. 7 based on the scan data stored in step S1406. In subsequent step S1408, if the result of focus determination in step S1407 is ◯, the process proceeds to step S1409, and if x, the process proceeds to step S1410. In step S1410, it is checked whether or not the entire AF possible range in the set mode has been scanned. If the entire area scan has been completed, the process proceeds to step S1406. If the entire area scan has not been completed, the process proceeds to step S1411. In step S1411, the focus lens 104 is moved to a preset position called a fixed point. In step S1409, the focus lens 104 is moved to the peak position calculated in step S1406 or a scan in step S1421 described later. And it progresses to step S1422 mentioned later.

上記ステップS1401にて連写モードであるとしてステップS1412へ進むと、連写中のAF回数を示すAFN=1であるかどうか調べ、AFN=1であればステップS1403へ進み、AFN=1でなければステップS1413へ進む。連写1枚目は、合焦位置履歴情報による被写体予測が不可能であるためにContinuousAFと同じ動作となるが、これはステップS1404において狭いスキャン範囲が設定され、レリーズタイムラグが短くなることを期待している。従って、連写モード時にはContinuousAFモードをデフォルト設定とすると良い。   If it is determined that the continuous shooting mode is set in step S1401 and the process proceeds to step S1412, whether AFN = 1 indicating the number of AFs during continuous shooting is checked. If AFN = 1, the process proceeds to step S1403, and AFN = 1. If YES, the process proceeds to step S1413. The first continuous shot has the same operation as Continuous AF because the subject cannot be predicted based on the in-focus position history information, but this is expected to set a narrow scan range in step S1404 and shorten the release time lag. is doing. Therefore, the continuous AF mode may be set as a default setting in the continuous shooting mode.

ステップS1413では、AFN=2であるかどうか調べ、AFN=2であればステップS1416へ進み、AFN=2でなければステップS1415へ進む。このステップS1416では、連写1枚目撮影フォーカスレンズ位置をスキャン範囲中心として設定する。スキャン範囲幅は連写間隔時間を延ばさないことを優先して設定すると、バッファ用途のDRAM113に余裕がある状態における連写撮影間隔内にAF動作が終了するスキャン範囲幅設定が、最大スキャン範囲幅設定となる。ステップS1416では被写体移動に関する情報が全く無いため、前記最大スキャン範囲幅を設定する。具体的には、図7のフローチャートによる合焦判定が可能なスキャンデータ数を得る時間と、スキャン開始位置への移動時間およびスキャン終了後合焦位置への移動時間と、各種演算時間の合計時間が連写間隔時間よりも短くなるように設定する。   In step S1413, it is checked whether AFN = 2. If AFN = 2, the process proceeds to step S1416, and if not AFN = 2, the process proceeds to step S1415. In step S1416, the position of the first-shooting focus lens for continuous shooting is set as the center of the scan range. If the scan range width is set so as not to extend the continuous shooting interval time, the maximum scan range width is set so that the AF operation ends within the continuous shooting interval when there is a margin in the DRAM 113 for buffer use. Setting. In step S1416, since there is no information about subject movement, the maximum scan range width is set. Specifically, the time required to obtain the number of scan data that can be determined in focus according to the flowchart of FIG. Is set to be shorter than the continuous shooting interval time.

また、ステップS1415へ進むと、後述する図15の撮影動作のサブルーチン内でDRAMがフルになったかどうか(BfFlg=TRUEになっているかどうか)を調べ、BfFlg=TRUEであればステップS1420へ進み、BfFlg=TRUEでなければ、ステップS1417へ進む。ステップS1417では、AFN=3であるかどうか調べ、AFN=3であればステップS1418へ進み、AFN=3でなければステップS1419へ進む。   In step S1415, it is checked whether or not the DRAM is full (whether BfFlg = TRUE) in a shooting operation subroutine shown in FIG. 15 to be described later. If BfFlg = TRUE, the flow advances to step S1420. If BfFlg = TRUE, the process advances to step S1417. In step S1417, it is checked whether or not AFN = 3. If AFN = 3, the process proceeds to step S1418. If not AFN = 3, the process proceeds to step S1419.

ステップS1418では、合焦位置履歴情報として連写1枚目、2枚目の2つの合焦位置情報(FP1、FP2)があるので、式(5)の1次近似により被写体予測を行ってスキャン中心位置ObjP3を求める。   In step S1418, as the in-focus position history information, there are two in-focus position information (FP1, FP2) for the first and second images in continuous shooting, so that the subject is predicted by the first order approximation of equation (5) and scanned. A center position ObjP3 is obtained.

ObjP3=FP2+(FP2−FP1)×FpAdj3 ・・・(5)
ここで、パラメータFpAdj(n)は、被写体予測結果と直前の合焦位置の重み付け設定のパラメータであり、0〜1の値をとる。図5のフォーカスレンズ位置ではFpAdj(n)=1としている。
ObjP3 = FP2 + (FP2-FP1) × FpAdj3 (5)
Here, the parameter FpAdj (n) is a parameter for setting the weighting of the subject prediction result and the previous in-focus position, and takes a value of 0 to 1. FpAdj (n) = 1 is set at the focus lens position in FIG.

また、ステップS1419では、合焦位置履歴情報として少なくとも直前3枚の合焦位置情報(FP1、FP2、FP3)があるので、式(6)の2次近似により被写体予測を行ってスキャン中心位置ObjP4を求める。   In step S1419, since there are at least three pieces of in-focus position information (FP1, FP2, and FP3) as the in-focus position history information, subject prediction is performed by quadratic approximation of Expression (6), and the scan center position ObjP4. Ask for.

ObjP4=(FP1−3・FP2+3・FP3)×FpAdj4+FP3
×(1−FpAdj4)
=(FP1−3・FP2+2・FP3)×FpAdj4+FP3 ・・・(6)
また、ステップS1420では、DRAMがフル(空きがない状態)になったことにより、合焦位置履歴情報の直前2枚の時間間隔よりも直前1枚から今回の撮影までの時間間隔が長くなっているため、直前2枚の合焦位置情報を近似式に使うことができない。よって、直前の撮影フォーカスレンズ位置をスキャン範囲中心として設定する。また、動体予測ができないので、このときのスキャン範囲は、ステップS1418、ステップS1419におけるスキャン範囲のα倍(α>1)に広げて、動体に追従させるようにする。
ObjP4 = (FP1−3 · FP2 + 3 · FP3) × FpAdj4 + FP3
× (1-FpAdj4)
= (FP1-3 · FP2 + 2 · FP3) × FpAdj4 + FP3 (6)
In step S1420, since the DRAM is full (no space is available), the time interval from the immediately preceding one to the current shooting is longer than the time interval immediately before the two in the focus position history information. Therefore, the in-focus position information of the last two images cannot be used in the approximate expression. Therefore, the immediately preceding photographing focus lens position is set as the center of the scanning range. In addition, since the moving object cannot be predicted, the scan range at this time is expanded to α times (α> 1) the scan range in steps S1418 and S1419 so as to follow the moving object.

ステップS1421へ進むと、図6のフローチャートに従ってスキャンを行い、ステップS1409へと進み、ピーク位置にフォーカスレンズ104を移動させる。連写2枚目以降においては、図7のフローチャートによる合焦判定結果が×となるような場合でも、定点へフォーカスレンズ104を駆動して撮影するよりも、前回の合焦位置付近に設定されたスキャン範囲におけるピーク位置で撮影した方がボケない可能性が高いため、合焦判定処理は行わない。と同時に、合焦表示も行わない。   In step S1421, scanning is performed in accordance with the flowchart of FIG. 6, and the flow advances to step S1409 to move the focus lens 104 to the peak position. In the second and subsequent shots, even when the focus determination result in the flowchart of FIG. 7 is x, it is set near the previous focus position rather than shooting by driving the focus lens 104 to a fixed point. Since it is more likely that the image is captured at the peak position in the scan range, the focus determination process is not performed. At the same time, no focus display is performed.

ステップS1409を介してステップS1422へ進むと、BfFlg=TRUEであるかどうかを調べ、BfFlg=TRUEであればステップS1423へ進み、BfFlg=TRUEでなければAF動作のサブルーチンを終了する。ステップS1423へ進むと、BfFlg=FALSE、AFN=2と設定してAF動作のサブルーチンを終了する。   When the process proceeds to step S1422 via step S1409, it is checked whether BfFlg = TRUE. If BfFlg = TRUE, the process proceeds to step S1423. If BfFlg = TRUE, the AF operation subroutine is terminated. In step S1423, BfFlg = FALSE and AFN = 2 are set, and the AF operation subroutine is terminated.

次に、図12のステップS1214における撮影動作のサブルーチンについて、図15のフローチャートを参照しながら説明する。   Next, the subroutine for the photographing operation in step S1214 in FIG. 12 will be described with reference to the flowchart in FIG.

まず、ステップS1501では、DRAM113がフルになっているかどうかを示すBfFlgをFALSEと設定する。次のステップS1502では、被写体輝度を測定する。続くステップS1503では、ステップS1502で測定した被写体輝度に応じて撮像素子108への露光を行う。撮像素子面上に結像された像は光電変換されてアナログ信号となり、ステップS1504にてA/D変換部109へと送られ、撮像素子108の出力ノイズ除去や非線形処理などの前処理の後にデジタル信号に変換される。   First, in step S1501, BfFlg indicating whether the DRAM 113 is full is set to FALSE. In the next step S1502, subject brightness is measured. In subsequent step S1503, the image sensor 108 is exposed in accordance with the subject luminance measured in step S1502. The image formed on the image sensor surface is photoelectrically converted into an analog signal, which is sent to the A / D converter 109 in step S1504, and after preprocessing such as output noise removal and nonlinear processing of the image sensor 108. Converted to a digital signal.

ステップS1505では、A/D変換部109からの出力信号をWB処理部111によりホワイトバランス調整し、画像処理部110で適正な出力画像信号とする。次のステップS1506では、出力画像信号をフォーマット変換部112でJPEGフォーマット等への画像フォーマット変換を行い、DRAM113に一時的に記憶する。続くステップS1507では、DRAM113がフルになっているかどうかを調べ、フルになっていればステップS1509へ進み、余裕があれば、撮影動作のサブルーチンを終了する。ステップS1509では、BfFlg=TRUEと設定する。そして、次のステップS1510にて、DRAM113内のデータを画像記録部114にてカメラ内のメモリ、またはカメラに装着されたメモリカードなどの外部記憶媒体へと転送し、記憶する。   In step S1505, the output signal from the A / D conversion unit 109 is subjected to white balance adjustment by the WB processing unit 111, and an appropriate output image signal is obtained by the image processing unit 110. In the next step S 1506, the output image signal is converted into the JPEG format or the like by the format conversion unit 112 and temporarily stored in the DRAM 113. In the following step S1507, it is checked whether or not the DRAM 113 is full. If it is full, the process proceeds to step S1509. If there is a margin, the shooting operation subroutine is terminated. In step S1509, BfFlg = TRUE is set. In the next step S1510, the data in the DRAM 113 is transferred and stored in the image recording unit 114 to an external storage medium such as a memory in the camera or a memory card attached to the camera.

等時間間隔で連写している途中でDRAM113がフルになることによって撮影ができずに次の撮影までの時間間隔が長くなってしまい、さらに次の撮影の直前までの間にAFが不可能になることがある。このような場合には、以上の実施例3によれば、フォーカスレンズ104のスキャン範囲を広げ、動体被写体に追従させるようにしている。よって、このような場合でも次の撮影において動体に追従させることができ、動体予測を続けることが可能となる。 Since the DRAM 113 becomes full during continuous shooting at equal time intervals, shooting cannot be performed, the time interval until the next shooting becomes longer, and AF is not possible immediately before the next shooting. May be. In such a case, according to the third embodiment described above, the scan range of the focus lens 104 is widened to follow the moving subject. Therefore, even in such a case, it is possible to follow the moving object in the next shooting, and it is possible to continue the moving object prediction.

本発明の実施例1〜3に係る電子カメラの回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of the electronic camera which concerns on Examples 1-3 of this invention. 本発明の実施例1に係わる一連の動作を表すフローチャートである。It is a flowchart showing a series of operation | movement concerning Example 1 of this invention. 図2におけるContinuousAFのサブルーチンのフローチャートである。3 is a flowchart of a subroutine of Continuous AF in FIG. 図2におけるAF動作のサブルーチンのフローチャートである。It is a flowchart of the subroutine of AF operation | movement in FIG. 図4における狭いスキャン範囲設定の説明図である。It is explanatory drawing of the narrow scan range setting in FIG. 図4におけるスキャンのサブルーチンのフローチャートである。5 is a flowchart of a scanning subroutine in FIG. 4. 図4における合焦判定のサブルーチンのフローチャートである。5 is a flowchart of a focus determination subroutine in FIG. 4. 無限遠方向の単調減少を求める動作の説明図である。It is explanatory drawing of the operation | movement which calculates | requires the monotonous decrease | decrease in an infinite direction. 至近方向の単調減少を求める動作の説明図である。It is explanatory drawing of the operation | movement which calculates | requires the monotone decrease of the near direction. 焦点評価値の判定の概念を説明するための図である。It is a figure for demonstrating the concept of determination of a focus evaluation value. 図2における撮影動作のサブルーチンのフローチャートである。3 is a flowchart of a shooting operation subroutine in FIG. 2. 本発明の実施例2及び3に係わる一連の動作を表すフローチャート図である。It is a flowchart figure showing a series of operation | movement concerning Example 2 and 3 of this invention. 本発明の実施例2におけるAF動作のサブルーチンのフローチャートである。It is a flowchart of the subroutine of AF operation | movement in Example 2 of this invention. 本発明の実施例3におけるAF動作のサブルーチンのフローチャートである。It is a flowchart of the subroutine of AF operation | movement in Example 3 of this invention. 本発明の実施例3における撮影動作のサブルーチンのフローチャートである。It is a flowchart of the subroutine of imaging | photography operation | movement in Example 3 of this invention.

符号の説明Explanation of symbols

101 撮影レンズ
103 AE処理部
104 フォーカスレンズ
105 AF処理部
106 ストロボ
107 EF処理部
108 撮像素子
110 画像処理部
113 DRAM
114 画像記録部
115 システム制御部
117 操作表示部
118 操作部
119 撮影モードスイッチ
120 ドライブモードスイッチ
121 AFモードスイッチ
122 メインスイッチ
124 撮影スイッチ
DESCRIPTION OF SYMBOLS 101 Shooting lens 103 AE processing part 104 Focus lens 105 AF processing part 106 Strobe 107 EF processing part 108 Imaging element 110 Image processing part 113 DRAM
114 Image Recording Unit 115 System Control Unit 117 Operation Display Unit 118 Operation Unit 119 Shooting Mode Switch 120 Drive Mode Switch 121 AF Mode Switch 122 Main Switch 124 Shooting Switch

Claims (2)

フォーカスレンズを被写体光軸方向に走査させながら撮像素子からの出力信号に基づいて被写体への焦点状態を検出し、該被写体への焦点状態の検出結果に応じて前記フォーカスレンズの位置を調節して被写体に合焦するようにする焦点調節手段と、
前記撮像素子から出力された信号を保存するための格納手段と、
前記格納手段に格納された信号を記録媒体に記録するための記録制御手段と、
連続して前記格納手段に撮像画像を保存する撮影の場合、撮影ごとに前記フォーカスレンズを走査させ、前回以前の撮影に伴う走査結果の前記フォーカスレンズの停止位置に基づいて今回の撮影に伴う前記フォーカスレンズの走査動作を行い、焦点調節を行うよう制御する制御手段とを有し、
前記制御手段は、連続して前記格納手段に撮像画像を保存する撮影において、前記格納手段がフルになることによって前記撮像素子から出力された信号を保存することができず、前記格納手段からフルになっている撮像画像を前記記録媒体に転送する間、前記走査動作が中断した場合には、該中断後に前記フォーカスレンズを中断前より広い走査範囲で走査させ、前記フォーカスレンズの位置調節を行うことを特徴とする自動合焦装置。
While the focus lens is scanned in the direction of the subject optical axis, the focus state on the subject is detected based on the output signal from the image sensor, and the position of the focus lens is adjusted according to the detection result of the focus state on the subject. Focus adjustment means for focusing on the subject;
Storage means for storing a signal output from the image sensor;
Recording control means for recording the signal stored in the storage means on a recording medium;
If continuously shooting for storing the captured image in the storage unit, thereby scanning the focus lens for each shooting, the accompanying current imaging based on the stop position of the focus lens of the scanning results with the previous previous shooting Control means for performing a scanning operation of the focus lens and controlling the focus adjustment;
Wherein, in the imaging of storing the captured image in the storage unit in succession, said storage means is not able to store the signal output from the imaging device by becoming full, full from said storage means during the transfer to captured image becomes to the recording medium, when the scanning operation is interrupted, the focus lens after the interruption by scanning a wide scanning range than before the interruption, performs the position adjustment of the focus lens An automatic focusing device characterized by that.
請求項1に記載の自動合焦装置を具備したことを特徴とする撮像装置。   An imaging apparatus comprising the automatic focusing device according to claim 1.
JP2006042450A 2006-02-02 2006-02-20 Automatic focusing device and imaging device Expired - Fee Related JP4194604B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006042450A JP4194604B2 (en) 2006-02-20 2006-02-20 Automatic focusing device and imaging device
US11/668,833 US7634185B2 (en) 2006-02-02 2007-01-30 Focusing device, image pickup apparatus, and control method
CN2007100033518A CN101013190B (en) 2006-02-02 2007-02-02 Focusing device, image pickup apparatus, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006042450A JP4194604B2 (en) 2006-02-20 2006-02-20 Automatic focusing device and imaging device

Publications (2)

Publication Number Publication Date
JP2007219390A JP2007219390A (en) 2007-08-30
JP4194604B2 true JP4194604B2 (en) 2008-12-10

Family

ID=38496737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006042450A Expired - Fee Related JP4194604B2 (en) 2006-02-02 2006-02-20 Automatic focusing device and imaging device

Country Status (1)

Country Link
JP (1) JP4194604B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4535173B2 (en) * 2008-06-26 2010-09-01 ソニー株式会社 Imaging apparatus, focus control method, and program
JP5361522B2 (en) * 2009-05-08 2013-12-04 キヤノン株式会社 Fundus camera
JP6063634B2 (en) * 2012-03-29 2017-01-18 オリンパス株式会社 Focus adjustment device
JP5755316B2 (en) * 2013-12-04 2015-07-29 キヤノン株式会社 Ophthalmic apparatus and control method thereof
JP5874753B2 (en) 2014-01-28 2016-03-02 カシオ計算機株式会社 Imaging apparatus, imaging method, and program
JP2016122196A (en) * 2016-01-12 2016-07-07 カシオ計算機株式会社 Imaging device, imaging method, and program

Also Published As

Publication number Publication date
JP2007219390A (en) 2007-08-30

Similar Documents

Publication Publication Date Title
CN101013190B (en) Focusing device, image pickup apparatus, and control method
JP5016909B2 (en) Imaging device
JP5247003B2 (en) Imaging device
KR101503333B1 (en) Image capturing apparatus and control method thereof
US20160314346A1 (en) Face recognition performance using additional image features
CN101124816B (en) Image processing apparatus and image processing method
JP4194604B2 (en) Automatic focusing device and imaging device
JP6516434B2 (en) Image processing apparatus, imaging apparatus, image processing method
US20130135518A1 (en) Focus adjusting apparatus and focus adjusting method
JP2014126612A (en) Imaging device and control method therefore
JP4181619B2 (en) Digital camera
JP2015198438A (en) image processing apparatus, image processing method and program
JP2007286118A (en) Imaging apparatus and its control method
JP5871463B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP2008197676A (en) Focusing device, imaging apparatus, and control method
JP4124882B2 (en) Imaging apparatus and control method
JP6274779B2 (en) Focus adjustment device, imaging device, and focus adjustment method
CN112584051B (en) Focus adjustment apparatus, image pickup apparatus, focus adjustment method, and storage medium
JP2006345162A (en) Digital camera
JP5004739B2 (en) Imaging apparatus and control method
JP2006237963A (en) Image display device, photographing device and image display method
JP6157161B2 (en) Imaging apparatus and control method thereof
JP2005197809A (en) Image processing apparatus, imaging device, and control method therefor
JP2009017038A (en) Digital camera
JP6526270B2 (en) Image pickup apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071128

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20071128

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20071217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080408

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080722

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080730

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080916

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080922

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees