JP3977406B2 - Autofocus device, autofocus method, imaging device, program, storage medium - Google Patents

Autofocus device, autofocus method, imaging device, program, storage medium Download PDF

Info

Publication number
JP3977406B2
JP3977406B2 JP2006107518A JP2006107518A JP3977406B2 JP 3977406 B2 JP3977406 B2 JP 3977406B2 JP 2006107518 A JP2006107518 A JP 2006107518A JP 2006107518 A JP2006107518 A JP 2006107518A JP 3977406 B2 JP3977406 B2 JP 3977406B2
Authority
JP
Japan
Prior art keywords
evaluation value
focus
drive range
focus lens
divided
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
JP2006107518A
Other languages
Japanese (ja)
Other versions
JP2006243744A (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 JP2006107518A priority Critical patent/JP3977406B2/en
Publication of JP2006243744A publication Critical patent/JP2006243744A/en
Application granted granted Critical
Publication of JP3977406B2 publication Critical patent/JP3977406B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

本発明は、オートフォーカス装置、オートフォーカス方法撮像装置、プログラム、記憶媒体に関し、特にオートフォーカスに要する時間の短縮に関するものである。 The present invention relates to an autofocus device, an autofocus method , an imaging device , a program, and a storage medium , and particularly relates to a reduction in time required for autofocus.

デジタルカメラなどではTV−AF方式と呼ばれるオートフォーカス(以下、AFと表記する)(下記特許文献1参照)方式を採用することが多い。この方式では、フォーカス位置をある範囲内で動かして各点でのAF評価信号の値から被写体距離を算出する。AF評価信号はBPF(バンドパスフィルタ)などを用いて、合焦しているほど信号が大きくなるように演算される。   In a digital camera or the like, an autofocus (hereinafter referred to as AF) (refer to Patent Document 1 below) method called a TV-AF method is often adopted. In this method, the subject position is calculated from the value of the AF evaluation signal at each point by moving the focus position within a certain range. The AF evaluation signal is calculated using a BPF (band pass filter) or the like so that the signal becomes larger as the focus is achieved.

例えば無限遠から50cmまでを測距範囲とした場合、図6のように、無限遠に合焦するフォーカス位置におけるAF評価信号を取得し、順次50cmまでフォーカス位置を近づけながら各距離におけるAF評価信号を取得する。各距離のAF評価信号を比較して最も合焦すると判定された距離Aにフォーカス位置を持っていくという手法で制御が行われる。なお、図6の横軸は、フォーカスレンズが合焦する被写体距離を示している。   For example, when the range is from infinity to 50 cm, as shown in FIG. 6, an AF evaluation signal at a focus position focusing on infinity is acquired, and AF evaluation signals at each distance are sequentially obtained while approaching the focus position to 50 cm. get. Control is performed by a method of comparing the AF evaluation signals of the respective distances and bringing the focus position to the distance A determined to be most focused. Note that the horizontal axis in FIG. 6 indicates the subject distance at which the focus lens is focused.

また、通常、フォーカス位置を振りながらAF評価信号を連続的に取得することは困難なため、例えば被写界深度相当の距離間隔毎に間引いてAF評価信号を取得する場合が多い。
特開2000−152064号公報
In addition, since it is usually difficult to continuously acquire the AF evaluation signal while moving the focus position, for example, the AF evaluation signal is often acquired by thinning out at every distance interval corresponding to the depth of field.
Japanese Patent Laid-Open No. 2000-152064

しかしながら、被写界深度の浅い光学系を持つカメラや距離方向の測距範囲が広く設定されたカメラの場合には、前述のように間引いてAF評価信号を取得したとしても取得するデータ総数が多くなってしまい測距時間が延びるという問題が発生する。   However, in the case of a camera having an optical system with a shallow depth of field or a camera with a wide distance measuring range, the total number of data to be acquired is not limited even if the AF evaluation signal is acquired by thinning as described above. The problem arises that the distance measurement time increases and the distance measurement time increases.

本発明は、このような状況のもとでなされたもので、AF精度を落とすことなくAF時間を短縮することが可能なオートフォーカス装置、オートフォーカス方法撮像装置、プログラム、記憶媒体を提供することを目的とするものである。 The present invention has been made under such circumstances, and provides an autofocus device, an autofocus method , an imaging device , a program, and a storage medium that can shorten the AF time without reducing AF accuracy. It is for the purpose.

前記目的を達成するため、本発明では、オートフォーカス装置、オートフォーカス方法、撮像装置、プログラム、記憶媒体を次のとおりに構成する。
(1)第1の駆動範囲に対してフォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第1の検出手段と、
第2の駆動範囲に対して前記フォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第2の検出手段とを備え、
前記第1の検出手段は、前記第1の駆動範囲を複数に分割し、前記分割された駆動範囲のうちの一つの駆動範囲において合焦であると判断された場合は前記AF評価値を検出する動作を終了し、前記分割された駆動範囲のうちの一つの駆動範囲において非合焦であると判断された場合は他の分割された駆動範囲において前記AF評価値を検出し、
前記第2の検出手段は、前回の撮像の際に検出した前記フォーカスレンズの合焦位置を含む前記第1の駆動範囲よりも狭い前記第2の駆動範囲において前記AF評価値を検出し、
更に今回の撮影パラメータが前回の撮影パラメータからみて変化があった場合には前記第1の検出手段によりAF評価値を検出し、変化がなかった場合には前記第2の検出手段によりAF評価値を検出することを特徴とするオートフォーカス装置。
(2)前記(1)に記載のオートフォーカス装置であって、
前記撮影パラメータは、ズームレンズの位置、撮像時刻、撮影モード、AF枠の設定、被写体の明るさ、AF評価値、ホワイトバランスの制御値、前記オートフォーカス装置の縦横位置のうち少なくとも1つを含むことを特徴とするオートフォーカス装置。
(3)前記(1)又は(2)に記載のオートフォーカス装置及びフォーカスレンズを有する光学系を備えたことを特徴とする撮像装置。
(4)第1の駆動範囲に対してフォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第1の検出ステップと、
第2の駆動範囲に対して前記フォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第2の検出ステップとを有し、
前記第1の検出ステップでは、前記第1の駆動範囲を複数に分割し、前記分割された駆動範囲のうち一の駆動範囲において合焦であると判断された場合は前記AF評価値を検出する動作を終了し、前記分割された駆動範囲のうち一の駆動範囲において非合焦であると判断された場合は他の分割された駆動範囲に対して前記AF評価値を検出し、
前記第2の検出ステップでは、前回の撮像の際に検出した前記フォーカスレンズの合焦位置を含む前記第1の駆動範囲よりも狭い前記第2の駆動範囲に対して前記AF評価値を検出し、
更に、今回の撮影パラメータが前回の撮影パラメータからみて変化があった場合には前記第1の検出ステップを実行し、変化がなかった場合には前記第2の検出ステップを実行することを特徴とするオートフォーカス方法。
(5)前記(4)に記載のオートフォーカス方法をコンピュータに実行させることを特徴とするプログラム。
(6)前記(5)に記載のプログラムをコンピュータ読み取り可能に記憶したことを特徴とする記憶媒体。
In order to achieve the above object, in the present invention, an autofocus device, an autofocus method, an imaging device, a program, and a storage medium are configured as follows.
(1) first detection means for detecting an AF evaluation value indicating a focused state by driving the focus lens with respect to the first drive range;
Second detection means for detecting an AF evaluation value indicating a focused state by driving the focus lens with respect to a second drive range;
The first detection unit divides the first drive range into a plurality of parts, and detects the AF evaluation value when it is determined that the focus is in one of the divided drive ranges. And when it is determined that one of the divided drive ranges is out of focus, the AF evaluation value is detected in the other divided drive range,
The second detection means detects the AF evaluation value in the second drive range narrower than the first drive range including the focus position of the focus lens detected at the time of previous imaging,
Further, when the current shooting parameter is changed from the previous shooting parameter, the first detection means detects the AF evaluation value, and when there is no change, the second detection means detects the AF evaluation value. Detecting an autofocus device.
(2) The autofocus device according to (1),
The shooting parameters include at least one of a zoom lens position, shooting time, shooting mode, AF frame setting, subject brightness, AF evaluation value, white balance control value, and vertical / horizontal position of the autofocus device. An autofocus device characterized by that.
(3) An imaging device comprising the optical system having the autofocus device and the focus lens according to (1) or (2).
(4) a first detection step of detecting an AF evaluation value indicating an in-focus state by driving the focus lens with respect to the first drive range;
A second detection step of detecting an AF evaluation value indicating a focused state by driving the focus lens with respect to a second drive range;
In the first detection step, the first drive range is divided into a plurality of parts, and the AF evaluation value is detected when it is determined that the focus is in one of the divided drive ranges. When the operation is terminated and it is determined that one of the divided drive ranges is out of focus, the AF evaluation value is detected for the other divided drive range,
In the second detection step, the AF evaluation value is detected with respect to the second drive range narrower than the first drive range including the focus position of the focus lens detected at the previous imaging. ,
Furthermore, by executing the first detecting step when the current imaging parameters was a change as seen from the previous imaging parameters, if the change was not a feature to perform the second detection step Autofocus method to use.
(5) A program for causing a computer to execute the autofocus method according to (4).
(6) A storage medium storing the program according to (5) so as to be readable by a computer.

以上説明したように、本発明によれば、AF評価信号を取得する総数が多い場合でもAF精度を落とすことなくAF時間を短縮することが可能である。   As described above, according to the present invention, the AF time can be shortened without reducing the AF accuracy even when the total number of AF evaluation signals to be acquired is large.

以下、本発明の実施形態をデジタルカメラの実施例により詳しく説明する。なお、本発明は、装置の形に限らず、実施例の説明に裏付けられて、方法の形で実施することができる。   Hereinafter, embodiments of the present invention will be described in more detail with reference to digital camera examples. The present invention is not limited to the form of the apparatus, and can be implemented in the form of a method supported by the description of the embodiments.

(実施例1)
図1は、実施例1であるオートフォーカス装置を有する撮像装置としての“デジタルカメラ”の概略構成を示す図である。
Example 1
FIG. 1 is a diagram illustrating a schematic configuration of a “digital camera” as an imaging apparatus having an autofocus device according to a first embodiment.

本デジタルカメラは、ズームレンズを有する光学系01およびフォーカスレンズ02により結像した光を撮像素子03により光電変換し、出力ノイズを除去するCDS回路やA/D変換前に行う非線形増幅回路を備えた前置処理回路04とA/D変換器05を通してデジタル化した信号を、メモリコントローラ06を介してメモリ07に格納し、図示していない信号処理回路によって画像に変換してから記録媒体08に画像を記録する。   This digital camera includes a CDS circuit that photoelectrically converts light imaged by an optical system 01 having a zoom lens and a focus lens 02 by an imaging device 03 and removes output noise, and a non-linear amplification circuit that is performed before A / D conversion. The signal digitized through the preprocessing circuit 04 and the A / D converter 05 is stored in the memory 07 via the memory controller 06, converted into an image by a signal processing circuit (not shown), and then stored in the recording medium 08. Record an image.

AFの動作について説明する。AF動作は制御部11により制御される。まず、SW1・09が押されると、撮影条件解析部12および範囲設定部13により選択した範囲をスキャン(走査)するようにフォーカスレンズ駆動回路17はフォーカスレンズ02を駆動するとともに、撮像素子03から出力される画像信号を取得する。フォーカスレンズ02の各駆動位置において、取得した画像信号は、AF評価値演算回路14によりBPFを用いて中高域信号成分が抽出されることにより合焦の度合いを示すAF評価値に変換される。そして、AF評価値が最も高い値合焦位置決定部15は、AF評価値が最も高い値が得られる位置を合焦位置(図5ではAである)とし、制御部11は、フォーカスレンズ駆動回路17に対してその合焦位置にフォーカスレンズ02を駆動させる。フォーカスレンズ02の駆動が完了し、SW2・10が使用者によって押されることで撮影が実行される。また、合焦位置と撮影時の撮影条件が撮影条件記憶部16に記憶される。   The operation of AF will be described. The AF operation is controlled by the control unit 11. First, when SW1 · 09 is pressed, the focus lens driving circuit 17 drives the focus lens 02 so as to scan the range selected by the imaging condition analysis unit 12 and the range setting unit 13, and from the imaging device 03, Obtain the output image signal. At each drive position of the focus lens 02, the acquired image signal is converted into an AF evaluation value indicating the degree of focusing by extracting the mid-high range signal component using the BPF by the AF evaluation value calculation circuit 14. The value focus position determination unit 15 with the highest AF evaluation value sets the position where the highest AF evaluation value is obtained as the focus position (A in FIG. 5), and the control unit 11 drives the focus lens. The focus lens 02 is driven to the in-focus position with respect to the circuit 17. When the drive of the focus lens 02 is completed and the SW2 · 10 is pressed by the user, photographing is performed. Further, the in-focus position and the shooting conditions at the time of shooting are stored in the shooting condition storage unit 16.

AF動作について図2のフローを用いてさらに詳細に説明する。   The AF operation will be described in more detail with reference to the flow of FIG.

ステップ1(図ではS1と表記する、以下同様)において撮影条件の解析を行う。もし、初めてのフォーカスレンズ02の走査であれば、次のステップ2に進み、フォーカスレンズ02は、広い範囲においてAF評価値が得られるように比較的走査範囲が広い所定の範囲(例えばフォーカスレンズ02が走査可能な全範囲)をスキャンするよう設定される。デジタルカメラの電源投入後、2度目以降のフォーカスレンズ02の走査の場合には、前回の撮影と今回の撮影の条件がほぼ同じかどうかを判定し、ほぼ同じと判定された場合には、ステップ2において、前記所定の範囲より狭く、かつ、前回撮影時の合焦位置を含むようにフォーカスレンズ02の走査範囲を設定し、そうでない場合には、ステップ2において前記所定の範囲をフォーカスレンズ02がスキャンするよう設定される。   In step 1 (denoted as S1 in the figure, the same applies hereinafter), the photographing conditions are analyzed. If it is the first scan of the focus lens 02, the process proceeds to the next step 2, where the focus lens 02 has a relatively wide scanning range (for example, the focus lens 02) so that an AF evaluation value can be obtained in a wide range. Is set to scan the entire scanable range. When the focus lens 02 is scanned for the second and subsequent times after the digital camera is turned on, it is determined whether or not the conditions of the previous shooting and the current shooting are almost the same. 2, the scanning range of the focus lens 02 is set so as to be narrower than the predetermined range and include the in-focus position at the time of the previous photographing. If not, the predetermined range is set to the focus lens 02 in step 2. Is set to scan.

前回の撮影パラメータと今回の撮影パラメータとの比較は、例えば、次の複数の条件を全て満たす場合(請求項の「所定の要件を満たす場合」に対応する)には、ほぼ同じ条件での撮影と判定する。   Comparison between the previous shooting parameter and the current shooting parameter, for example, when all of the following conditions are satisfied (corresponding to “when satisfying predetermined requirements” in the claims), shooting under almost the same conditions Is determined.

撮影時のズームレンズのポジションが前回撮影時と今回撮影時で全く同一またはほぼ同じ。
前回撮影した時刻と今回撮影する時刻の時間差があまりない。
近接した被写体を撮像するマクロモード/通常の被写体を撮像する非マクロモードの設定が変更されていない。
AF評価値を得るために検出する画像信号の領域としてのAF枠の数が変更されていない。
撮影時の明るさがほぼ同じ。
AF評価値がほぼ同じ。
The zoom lens position at the time of shooting is exactly the same or almost the same at the time of previous shooting and this time.
There is not much time difference between the last shooting time and the current shooting time.
The setting of the macro mode for capturing a close subject / non-macro mode for capturing a normal subject is not changed.
The number of AF frames as the area of the image signal detected for obtaining the AF evaluation value is not changed.
The brightness when shooting is almost the same.
AF evaluation values are almost the same.

また、「前回撮影時に合焦可能であった」という条件を加えても良い。なお、AF評価値は例えば公知の手法を用いて次のように計算する。撮影した信号に対してBPFを適用し、中高域成分を抽出された中で、AF枠内にある振幅の最大値を評価値としても良いし、AF枠内でBPFが抽出する所定の方向にそって最大値を抽出し、BPFの方向と垂直の方向にその最大値を積分したものをAF評価値としたものでも良いが、AFの評価値の算出方法は本願発明のポイントではないので説明を省略する。   In addition, a condition that “focusing was possible at the time of previous shooting” may be added. The AF evaluation value is calculated as follows using a known method, for example. While the BPF is applied to the photographed signal and the middle and high frequency components are extracted, the maximum amplitude value in the AF frame may be used as the evaluation value, or in a predetermined direction in which the BPF extracts in the AF frame. Accordingly, the maximum value may be extracted and the maximum value integrated in the direction perpendicular to the BPF direction may be used as the AF evaluation value. However, the method for calculating the AF evaluation value is not a point of the present invention, and therefore will be described. Is omitted.

比較の手法としては、例えば記憶部16に図3のように各撮影情報を前回分および今回の情報を格納し、例えば次のように判定すればよい。
[前回撮影ズーム位置]=[今回撮影ズーム位置]
かつ[今回撮影時刻]−[前回撮影時刻]<(10秒)
かつ[前回マクロ設定]=[今回マクロ設定]
かつ[前回AF枠設定]=[今回AF枠設定]
かつ|[今回明るさ]−[前回明るさ]|<1(Ev)
かつ|[今回AF評価値]−[前回AF評価値]|<300
を満たした場合、類似した撮像条件での撮影と見なす。
As a comparison method, for example, the previous shooting information and the current shooting information may be stored in the storage unit 16 as shown in FIG.
[Previous shooting zoom position] = [Current shooting zoom position]
And [current shooting time]-[previous shooting time] <(10 seconds)
And [Previous Macro Setting] = [Current Macro Setting]
And [previous AF frame setting] = [current AF frame setting]
And | [Brightness this time]-[Brightness last time] | <1 (Ev)
And [[current AF evaluation value] − [previous AF evaluation value] | <300
If the condition is satisfied, it is considered that the image is taken under similar imaging conditions.

なお、“ほぼ同じ条件”としてその他ホワイトバランス結果の違いを用いても良いし、縦位置横位置の判定のできるカメラの場合には撮影位置が変更されているかどうかを判定に用いても良いし、AF枠の移動が可能なカメラの場合には枠位置を移動したかどうかを判定に用いても良い。その他、撮影条件がほぼ同じかどうかを特定可能なものを用いても良い。   In addition, the difference in other white balance results may be used as “substantially the same condition”, and in the case of a camera that can determine the vertical position and the horizontal position, it may be used for the determination as to whether or not the shooting position has been changed. In the case of a camera capable of moving the AF frame, whether or not the frame position has been moved may be used for the determination. In addition, one that can specify whether or not the shooting conditions are substantially the same may be used.

以上ステップ2で決定した走査範囲をステップ3においてフォーカスレンズ02を駆動させ、AF評価信号を得る。   The focus lens 02 is driven in step 3 within the scanning range determined in step 2 above, and an AF evaluation signal is obtained.

次にステップ4において合焦位置を決定する。合焦位置の決定はスキャン求められたAF評価値を元に補間演算を行うことにより、ステップ3において得られたAF評価値間の値を求め、AF評価値が極大となる点を合焦位置とする。   Next, in step 4, the in-focus position is determined. The in-focus position is determined by performing an interpolation operation based on the AF evaluation value obtained by scanning to obtain a value between the AF evaluation values obtained in step 3, and the point where the AF evaluation value is maximized is determined as the in-focus position. And

ステップ5において、今回の撮影条件およびステップ4において求められた合焦位置を記憶する。   In step 5, the current photographing condition and the in-focus position obtained in step 4 are stored.

ステップ6において、記録媒体08に記録するために撮像素子03から画像信号得られるとともに、フォーカスレンズを合焦位置に駆動する。
以上で、AF動作が完了する。
In step 6, an image signal is obtained from the image sensor 03 for recording on the recording medium 08, and the focus lens is driven to the in-focus position.
Thus, the AF operation is completed.

前記のように処理することで、シーンがほぼ同一の場合にはフォーカスレンズ02の走査範囲を全範囲スキャンすることがなくなり、被写体の存在する近傍の狭い範囲をフォーカスレンズ02を走査させてAF評価信号を得ているため、精度を落とさず素早く合焦動作を完了することが可能である。   By performing the processing as described above, when the scene is almost the same, the entire scanning range of the focus lens 02 is not scanned, and the focus lens 02 is scanned over a narrow range in the vicinity of the subject to perform AF evaluation. Since the signal is obtained, the focusing operation can be completed quickly without reducing accuracy.

なお、実施例では、前述の条件を全て満たす場合としているが、1つ以上の条件をみたす場合とすることもできる。   In the embodiment, the above-described conditions are all satisfied, but one or more conditions may be satisfied.

以上説明したように、本実施例によれば、AF評価信号を取得する総数が多い場合でもAF精度を落とすことなくAF時間を短縮することができる。   As described above, according to the present embodiment, the AF time can be shortened without reducing the AF accuracy even when the total number of AF evaluation signals to be acquired is large.

(実施例2)
本実施例の“デジタルカメラ”は、実施例1におけるフォーカスレンズ02の走査範囲をあらかじめ分割し、それら分割した範囲を順次走査(以下、分割走査という)してAF評価値を得るように変更した例である。その他の部分は共通であるため説明を省略する。
(Example 2)
In the “digital camera” of the present embodiment, the scanning range of the focus lens 02 in the first embodiment is divided in advance, and the divided range is sequentially scanned (hereinafter referred to as divided scanning) so as to obtain an AF evaluation value. It is an example. Since other parts are common, description is omitted.

分割走査について説明する。本実施例においては、フォーカスレンズの走査範囲の分割を、例えば図4のように行う。なお、図4において、横軸はフォーカスレンズが駆動する位置を示しており、便宜的にフォーカスレンズが合焦する位置に対応する被写体距離を示している。   The division scanning will be described. In this embodiment, the scanning range of the focus lens is divided as shown in FIG. 4, for example. In FIG. 4, the horizontal axis indicates the position where the focus lens is driven, and the object distance corresponding to the position where the focus lens is in focus is shown for convenience.

このように分割された領域を走査する手法を図5のフローにしたがって説明する。
ステップ11において、初めに走査する分割範囲を示すゾーンnを決定する。本実施例においてはn=1とし、遠いところの被写体に合焦する範囲(ゾーン1)から近いところの被写体に合焦するゾーンへと順番に走査するよう構成する。
A method of scanning the area divided in this way will be described according to the flow of FIG.
In step 11, a zone n indicating a divided range to be scanned first is determined. In this embodiment, n = 1 is set, and scanning is performed in order from a range focusing on a far subject (zone 1) to a zone focusing on a near subject.

ステップ12において分割した範囲のうちの前回走査したゾーンより1つ近いところに合焦するゾーンの第n領域を走査する。
ステップ13において各ゾーンにおいて合焦判定を行い、合焦可能であれば終了する。合焦不可能であれば、ステップ14において領域を更新しステップ12に戻る。
In step 12, the nth region of the zone that is in focus is scanned near the zone scanned last time in the divided range.
In step 13, in-focus determination is performed in each zone, and if in-focus is possible, the process ends. If focusing is impossible, the area is updated in step 14 and the process returns to step 12.

すなわち、本実施例では、実施例1における図2のステップ1において、前回撮影時と今回の撮影の条件がほぼ同一であると判定されなかった場合に前記分割走査を用いるよう構成される。なお、各ゾーンは撮影時と今回の撮影の条件がほぼ同一であると判定された場合に設定される範囲よりも広い範囲である。   That is, in this embodiment, in Step 1 of FIG. 2 in Embodiment 1, the divided scanning is used when it is determined that the conditions of the previous shooting and the current shooting are not substantially the same. Each zone is a range wider than the range set when it is determined that the conditions of shooting at this time and shooting conditions at this time are almost the same.

以上説明したように、実施例1では、前回の撮影条件と今回の撮影の条件がほぼ同じか判定し、ほぼ同じと判定できない場合には、ステップ2において走査領域の全範囲をスキャンしているが、本実施例では、所定の測距領域を3分割し、その分割領域を順次走査し、合焦可能なゾーンで走査を終了するようにしているので、確率的にみて実施例1よりAF時間を短縮することができる。   As described above, in the first embodiment, it is determined whether the previous shooting condition and the current shooting condition are substantially the same, and if it cannot be determined that they are substantially the same, the entire range of the scanning area is scanned in step 2. However, in this embodiment, the predetermined distance measurement area is divided into three, the divided areas are sequentially scanned, and scanning is terminated in a focusable zone. Time can be shortened.

また、分割走査の場合、初めに走査される範囲に被写体が有る場合には素早く合焦可能なのに対し、後のほうで走査される範囲に被写体が有る場合には合焦に時間がかかってしまう。したがって、前回撮影時の合焦位置が後の方で走査されるゾーンに入っている場合にのみ、前回合焦位置付近を測距するよう構成しても良い。また、前回合焦位置が含まれるゾーンそのものを走査するよう構成しても良い。   In the case of divided scanning, it is possible to focus quickly when the subject is in the first scanned range, but it takes time to focus when the subject is in the later scanned range. . Accordingly, the distance may be measured in the vicinity of the previous in-focus position only when the in-focus position at the time of the previous shooting is in a zone scanned later. Further, the zone itself including the previous in-focus position may be scanned.

なお、実施例2では、初めての走査の際に、全走査範囲をスキャンするよう設定しているが、この代わりに、分割走査を行っても良い。   In the second embodiment, the entire scanning range is set to be scanned at the time of the first scanning, but division scanning may be performed instead.

なお、上述した実施例の機能を実現するべく各種のデバイスを動作させるように、該各種デバイスと接続された装置あるいはシステム内のコンピュータに対し、前記実施形態の機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)に格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも、本発明の範疇に含まれる。   It should be noted that a software program for realizing the functions of the above-described embodiment for an apparatus connected to the various devices or a computer in the system so as to operate various devices to realize the functions of the above-described embodiments. What was implemented by supplying the code and operating the various devices in accordance with a program stored in a computer (CPU or MPU) of the system or apparatus is also included in the scope of the present invention.

また、この場合、前記ソフトウェアのプログラムコード自体が上述した実施例の機能を実現することになり、そのプログラムコードは本発明を構成する。また、そのプログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記憶媒体は本発明を構成する。かかるプログラムコードを記憶する記憶媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   In this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code constitutes the present invention. Further, means for supplying the program code to the computer, for example, a storage medium storing the program code constitutes the present invention. As a storage medium for storing the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが供給されたプログラムコードを実行することにより、上述の実施例の機能が実現されるだけでなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)あるいは他のアプリケーションソフト等と共同して上述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることは言うまでもない。   Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) or other application software in which the program code is running on the computer, etc. It goes without saying that the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the embodiment.

さらに、供給されたプログラムコードがコンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後、そのプログラムコードの指示に基づいてその機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合にも本発明に含まれることは言うまでもない。   Further, after the supplied program code is stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, the CPU provided in the function expansion board or function expansion unit based on the instruction of the program code Needless to say, the present invention includes a case where the functions of the above-described embodiment are realized by performing part or all of the actual processing.

実施例1の構成を示すブロック図Block diagram showing the configuration of the first embodiment AF動作時の処理を示すフローチャートFlow chart showing processing during AF operation 記憶部16の記憶例を示す図The figure which shows the memory example of the memory | storage part 16 実施例2におけるフォーカスレンズの走査範囲の分割例を示す図FIG. 10 is a diagram illustrating an example of dividing the scanning range of the focus lens in the second embodiment. 実施例2におけるAF動作時の処理を示すフローチャートFlowchart showing processing during AF operation in Embodiment 2 合焦位置に対応する被写体距離とAF評価値の関係の例を示す図The figure which shows the example of the relationship between the to-be-photographed object distance corresponding to a focus position, and AF evaluation value

符号の説明Explanation of symbols

11 制御部
12 撮影条件解析部
13 範囲設定部
14 AF評価値演算回路
15 合焦位置決定部
16 撮影条件記憶部
17 フォーカスレンズ駆動回路
DESCRIPTION OF SYMBOLS 11 Control part 12 Imaging condition analysis part 13 Range setting part 14 AF evaluation value calculating circuit 15 Focus position determination part 16 Imaging condition memory | storage part 17 Focus lens drive circuit

Claims (6)

第1の駆動範囲に対してフォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第1の検出手段と、
第2の駆動範囲に対して前記フォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第2の検出手段とを備え、
前記第1の検出手段は、前記第1の駆動範囲を複数に分割し、前記分割された駆動範囲のうちの一つの駆動範囲において合焦であると判断された場合は前記AF評価値を検出する動作を終了し、前記分割された駆動範囲のうちの一つの駆動範囲において非合焦であると判断された場合は他の分割された駆動範囲において前記AF評価値を検出し、
前記第2の検出手段は、前回の撮像の際に検出した前記フォーカスレンズの合焦位置を含む前記第1の駆動範囲よりも狭い前記第2の駆動範囲において前記AF評価値を検出し、
更に今回の撮影パラメータが前回の撮影パラメータからみて変化があった場合には前記第1の検出手段によりAF評価値を検出し、変化がなかった場合には前記第2の検出手段によりAF評価値を検出することを特徴とするオートフォーカス装置。
First detection means for detecting an AF evaluation value indicating a focused state by driving the focus lens with respect to the first drive range;
Second detection means for detecting an AF evaluation value indicating a focused state by driving the focus lens with respect to a second drive range;
The first detection unit divides the first drive range into a plurality of parts, and detects the AF evaluation value when it is determined that the focus is in one of the divided drive ranges. And when it is determined that one of the divided drive ranges is out of focus, the AF evaluation value is detected in the other divided drive range,
The second detection means detects the AF evaluation value in the second drive range narrower than the first drive range including the focus position of the focus lens detected at the time of previous imaging,
Further, when the current shooting parameter is changed from the previous shooting parameter, the first detection means detects the AF evaluation value, and when there is no change, the second detection means detects the AF evaluation value. Detecting an autofocus device.
請求項1に記載のオートフォーカス装置であって、
前記撮影パラメータは、ズームレンズの位置、撮像時刻、撮影モード、AF枠の設定、被写体の明るさ、AF評価値、ホワイトバランスの制御値、前記オートフォーカス装置の縦横位置のうち少なくとも1つを含むことを特徴とするオートフォーカス装置。
The autofocus device according to claim 1,
The shooting parameters include at least one of a zoom lens position, shooting time, shooting mode, AF frame setting, subject brightness, AF evaluation value, white balance control value, and vertical / horizontal position of the autofocus device. An autofocus device characterized by that.
請求項1又は請求項2に記載のオートフォーカス装置及びフォーカスレンズを有する光学系を備えたことを特徴とする撮像装置。   An image pickup apparatus comprising the optical system having the autofocus device according to claim 1 and a focus lens. 第1の駆動範囲に対してフォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第1の検出ステップと、
第2の駆動範囲に対して前記フォーカスレンズを駆動させて合焦状態を示すAF評価値を検出する第2の検出ステップとを有し、
前記第1の検出ステップでは、前記第1の駆動範囲を複数に分割し、前記分割された駆動範囲のうち一の駆動範囲において合焦であると判断された場合は前記AF評価値を検出する動作を終了し、前記分割された駆動範囲のうち一の駆動範囲において非合焦であると判断された場合は他の分割された駆動範囲に対して前記AF評価値を検出し、
前記第2の検出ステップでは、前回の撮像の際に検出した前記フォーカスレンズの合焦位置を含む前記第1の駆動範囲よりも狭い前記第2の駆動範囲に対して前記AF評価値を検出し、
更に、今回の撮影パラメータが前回の撮影パラメータからみて変化があった場合には前記第1の検出ステップを実行し、変化がなかった場合には前記第2の検出ステップを実行することを特徴とするオートフォーカス方法。
A first detection step of detecting an AF evaluation value indicating a focused state by driving the focus lens with respect to the first drive range;
A second detection step of detecting an AF evaluation value indicating a focused state by driving the focus lens with respect to a second drive range;
In the first detection step, the first drive range is divided into a plurality of parts, and the AF evaluation value is detected when it is determined that the focus is in one of the divided drive ranges. When the operation is terminated and it is determined that one of the divided drive ranges is out of focus, the AF evaluation value is detected for the other divided drive range,
In the second detection step, the AF evaluation value is detected with respect to the second drive range narrower than the first drive range including the focus position of the focus lens detected at the previous imaging. ,
Furthermore, by executing the first detecting step when the current imaging parameters was a change as seen from the previous imaging parameters, if the change was not a feature to perform the second detection step Autofocus method to use.
請求項4に記載のオートフォーカス方法をコンピュータに実行させることを特徴とするプログラム。   A program causing a computer to execute the autofocus method according to claim 4. 請求項5に記載のプログラムをコンピュータ読み取り可能に記憶したことを特徴とする記憶媒体。   A storage medium in which the program according to claim 5 is stored in a computer-readable manner.
JP2006107518A 2006-04-10 2006-04-10 Autofocus device, autofocus method, imaging device, program, storage medium Expired - Fee Related JP3977406B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006107518A JP3977406B2 (en) 2006-04-10 2006-04-10 Autofocus device, autofocus method, imaging device, program, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006107518A JP3977406B2 (en) 2006-04-10 2006-04-10 Autofocus device, autofocus method, imaging device, program, storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002266873A Division JP3848230B2 (en) 2002-09-12 2002-09-12 AUTOFOCUS DEVICE, IMAGING DEVICE, AUTOFOCUS METHOD, PROGRAM, AND STORAGE MEDIUM

Publications (2)

Publication Number Publication Date
JP2006243744A JP2006243744A (en) 2006-09-14
JP3977406B2 true JP3977406B2 (en) 2007-09-19

Family

ID=37050141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006107518A Expired - Fee Related JP3977406B2 (en) 2006-04-10 2006-04-10 Autofocus device, autofocus method, imaging device, program, storage medium

Country Status (1)

Country Link
JP (1) JP3977406B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5164626B2 (en) 2008-03-22 2013-03-21 三洋電機株式会社 Electronic camera

Also Published As

Publication number Publication date
JP2006243744A (en) 2006-09-14

Similar Documents

Publication Publication Date Title
JP3848230B2 (en) AUTOFOCUS DEVICE, IMAGING DEVICE, AUTOFOCUS METHOD, PROGRAM, AND STORAGE MEDIUM
JP3944039B2 (en) Focus adjustment apparatus and program
JP4674471B2 (en) Digital camera
JP4571617B2 (en) Imaging apparatus and imaging method
US8259214B2 (en) Image pickup apparatus and auto-focus detection method
JP5213813B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
US7557855B2 (en) Focus position detection apparatus and method
US8237845B2 (en) Method and apparatus for controlling a focus lens
JP2008096796A (en) Automatic focusing device and camera
JP2009111716A (en) Imaging apparatus, program and template generating method
US20130293768A1 (en) Imaging apparatus, imaging method, imaging program and computer readable information recording medium
JP4500789B2 (en) Focus adjustment apparatus and program
JP5164493B2 (en) Imaging device
JP2008008959A (en) Imaging apparatus and photographing method using the same
JP3977406B2 (en) Autofocus device, autofocus method, imaging device, program, storage medium
JP2005141068A (en) Automatic focusing device, automatic focusing method, and control program readable by computer
JP2007011054A (en) Imaging apparatus, control method for imaging apparatus and computer program
JP4574559B2 (en) Imaging device, focus position detection device, and focus position detection method
JP5159295B2 (en) Automatic focusing device and imaging device
JP4681899B2 (en) Imaging apparatus and imaging method
JP4143395B2 (en) Imaging apparatus, autofocus method, program, and storage medium
JP2019086580A (en) Focus adjustment device, focus adjustment method and imaging apparatus
JP2006047645A (en) Focus adjusting device and method
JP4779383B2 (en) Digital camera
JP2009194469A (en) Imaging apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060613

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060926

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061127

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070329

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070501

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070511

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070620

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

Free format text: PAYMENT UNTIL: 20100629

Year of fee payment: 3

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120629

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120629

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130629

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees