JP2002318341A - Device and method for automatic focusing - Google Patents

Device and method for automatic focusing

Info

Publication number
JP2002318341A
JP2002318341A JP2001122809A JP2001122809A JP2002318341A JP 2002318341 A JP2002318341 A JP 2002318341A JP 2001122809 A JP2001122809 A JP 2001122809A JP 2001122809 A JP2001122809 A JP 2001122809A JP 2002318341 A JP2002318341 A JP 2002318341A
Authority
JP
Japan
Prior art keywords
search
lens
evaluation value
peak
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001122809A
Other languages
Japanese (ja)
Inventor
Akihiro Uchida
亮宏 内田
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2001122809A priority Critical patent/JP2002318341A/en
Publication of JP2002318341A publication Critical patent/JP2002318341A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To omit unnecessary focusing operation by deciding the possibility of focusing by automatic focusing(AF) and stopping focusing operation when it is judged that the focusing is impossible as to a device and a method for AF which use an evaluated value calculated from the high-frequency component of an image signal. SOLUTION: A focusing area is searched (roughly) at relatively large search intervals and the evaluated value obtained here is used to decided the possibility of focusing. For the decision making, two thresholds (T1>T2) are set; when the maximum evaluated value Afmax is larger than the large threshold T1, it is judged that the focusing is possible and the focusing area is searched (in detail) at smaller search intervals, and when the maximum evaluated value is smaller than the small threshold T2, it is judged that the focusing is impossible and the detailed search is inhibited. When the maximum evaluated value is between the small threshold and large threshold, it is decided whether the evaluated value of the rough search has a peak; when the evaluated value has no peak, the 2nd search is inhibited and when the evaluated value has a peak, the 2nd search is made.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は自動焦点調節装置及
びその方法に係り、特に、撮像素子からの出力信号に基
づいて、画像の高周波成分を検出し、その検出結果を利
用してオートフォーカス(AF)制御を行う技術に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focusing apparatus and a method therefor, and more particularly, to detecting a high-frequency component of an image based on an output signal from an image sensor, and using the detection result to perform auto-focusing. The present invention relates to a technique for performing AF) control.

【0002】[0002]

【従来の技術】被写体を撮像し、その映像信号を出力す
るビデオカメラでは、撮影光学系のうち焦点調節に作用
するフォーカスレンズを移動させながら撮像を行い、そ
の出力映像信号から高周波成分を抽出して合焦のための
評価値を算出する。フォーカスレンズの移動の結果、評
価値が増加する場合には同方向に駆動し続け、反対にレ
ンズ移動に伴い評価値が減少する場合には、逆方向に駆
動して評価値のピークを探すという、いわゆる「山登り
サーボ方式」が採用されている。
2. Description of the Related Art In a video camera which captures an image of a subject and outputs a video signal thereof, the video camera captures an image while moving a focus lens of a photographic optical system which acts on focus adjustment, and extracts a high-frequency component from the output video signal. To calculate an evaluation value for focusing. When the evaluation value increases as a result of the movement of the focus lens, the lens continues to be driven in the same direction, and when the evaluation value decreases with the movement of the lens, it is driven in the opposite direction to search for the peak of the evaluation value. That is, a so-called "hill climbing servo system" is employed.

【0003】また、デジタルスチルカメラにおいては、
被写体の至近から無限遠距離までフォーカスレンズを駆
動し、評価値が最大になるところに、フォーカスレンズ
を駆動して合焦させる「コントラストAF方式」が採用
されている。
In a digital still camera,
A “contrast AF method” is employed in which a focus lens is driven from a point close to an object to infinity and the focus lens is driven and focused where the evaluation value is maximized.

【0004】[0004]

【発明が解決しようとする課題】これら従来の自動焦点
調節機能は、非合焦の状態を合焦状態にすることが目的
であり、既に合焦している状態や、AFを実施しても合
焦不可能であることが分かっている場合は、AF処理を
行うと時間の無駄になる。不要な合焦動作を禁止する方
法として、特開平6−311412号公報は、ビデオカ
メラにおいて一度合焦動作を行った後に絞りを変化さ
せ、その際の焦点評価値の変化量から合焦状態を検出し
て合焦であれば合焦動作を停止する方法を開示してい
る。また、特開2000−350082号公報では、電
子カメラにおけるホワイトバランスデータ取得の際は合
焦動作を禁止する方法が提案されている。
The purpose of these conventional automatic focus adjustment functions is to change the out-of-focus state to the in-focus state. If it is known that focusing cannot be performed, performing AF processing wastes time. As a method of prohibiting unnecessary focusing operation, Japanese Patent Application Laid-Open No. Hei 6-311412 discloses a method in which a focusing operation is once performed in a video camera, and then the aperture is changed. It discloses a method of stopping the focusing operation if it is detected and focused. Japanese Patent Application Laid-Open No. 2000-350082 proposes a method of prohibiting a focusing operation when obtaining white balance data in an electronic camera.

【0005】しかしながら、これら従来の方法は、合焦
不能な場合にも合焦動作を継続したり、ホワイトバラン
スデータ取得時という限定条件のみで合焦動作を禁止し
ており、通常の撮影時においてAFを実施しても合焦で
きない場合には無駄な合焦動作が行われてしまうという
問題がある。
However, in these conventional methods, the focusing operation is continued even when focusing is impossible, or the focusing operation is prohibited only under the limited condition of obtaining white balance data. If focusing cannot be performed even after performing AF, there is a problem that useless focusing operation is performed.

【0006】本発明はこのような事情に鑑みてなされた
もので、自動焦点調節による合焦の可能性を判定し、合
焦不能と判断したときは合焦動作を停止することで不要
な合焦動作を省略することができる自動焦点調節装置及
び方法を提供することを目的とする。
The present invention has been made in view of such circumstances, and determines the possibility of focusing by automatic focus adjustment. When it is determined that focusing is impossible, the focusing operation is stopped to stop unnecessary focusing. It is an object of the present invention to provide an automatic focusing apparatus and a method capable of omitting a focusing operation.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
に、請求項1に記載の発明は、レンズを介して入射する
被写体の光学像を電気信号に変換する撮像手段を有し、
前記撮像手段から出力される画像信号を用いて算出され
る画像の鮮鋭度を示す評価値に基づいて前記レンズの焦
点位置を調節する自動焦点調節装置において、該装置
は、前記レンズを焦点調節領域内で移動させるレンズ移
動手段と、前記レンズ移動手段によって移動される各レ
ンズ位置毎に、前記撮像手段から出力される画像信号か
ら前記被写体のコントラスト成分を抽出し、該コントラ
スト成分に応じた評価値を算出する評価値算出手段と、
前記焦点調節領域内で前記レンズを比較的大きな間隔で
移動させながら各レンズ位置で評価値を取得する第1の
サーチを実施する第1のサーチ手段と、前記第1のサー
チにより得られた評価値のピークに対応する位置の近傍
に前記レンズを移動させた後、当該ピークに対応する位
置の近傍を前記第1のサーチよりも小さな間隔で前記レ
ンズを移動させながら各レンズ位置で評価値を取得する
第2のサーチを実施する第2のサーチ手段と、前記第1
のサーチにより得られた評価値の最大値が予め設定され
ている閾値よりも小さい場合に前記第2のサーチを禁止
するサーチ制御手段と、を備えたことを特徴としてい
る。
According to a first aspect of the present invention, there is provided an imaging apparatus for converting an optical image of a subject incident through a lens into an electric signal.
In an automatic focus adjustment device that adjusts a focal position of the lens based on an evaluation value indicating a sharpness of an image calculated using an image signal output from the imaging unit, the device adjusts a focus adjustment area of the lens. Extracting a contrast component of the subject from an image signal output from the imaging unit for each lens position moved by the lens moving unit, and an evaluation value corresponding to the contrast component Evaluation value calculating means for calculating
First search means for performing a first search for obtaining an evaluation value at each lens position while moving the lens at a relatively large interval in the focus adjustment area; and an evaluation obtained by the first search. After moving the lens near the position corresponding to the peak of the value, the evaluation value is calculated at each lens position while moving the lens near the position corresponding to the peak at a smaller interval than the first search. A second search means for performing a second search to be obtained;
And a search control unit for prohibiting the second search when the maximum value of the evaluation values obtained by the search is smaller than a preset threshold.

【0008】本発明によれば、焦点調節領域についてサ
ーチポイントの間隔(サーチステップ)が大きい第1の
サーチ動作(ラフサーチ)を行い、その結果得られた評
価値のピーク付近をサーチステップの小さい第2のサー
チ動作(詳細サーチ)で詳細にサーチするAF方式を採
用する場合に、第1のサーチで得た評価値の最大値が所
定の閾値を下回る場合は、第2のサーチを実行しても合
焦位置を検出できないもの(合焦不能)と判断し、第2
のサーチを禁止する制御を行う。これにより、不要な合
焦動作を省略できる。なお、第2のサーチを禁止した場
合には、AFによる合焦不能であるため、所定のフォー
カス位置(例えば、被写体距離2mにピントが合う位
置)にフォーカスレンズを移動させるなどの対応が行わ
れる。
According to the present invention, the first search operation (rough search) in which the interval between search points (search step) is large in the focus adjustment area is performed, and the vicinity of the peak of the evaluation value obtained as a result is searched in the small search step. If the maximum value of the evaluation values obtained in the first search is smaller than a predetermined threshold value when the AF method of performing a detailed search in the second search operation (detailed search) is employed, the second search is executed. Also determines that the in-focus position cannot be detected (in-focus is impossible),
Is controlled to prohibit the search. Thereby, unnecessary focusing operation can be omitted. In the case where the second search is prohibited, since focusing by AF is impossible, measures such as moving the focus lens to a predetermined focus position (for example, a position where the object distance is 2 m) are taken. .

【0009】請求項2に記載の態様によれば、前記閾値
よりも大きい他の閾値が設定されており、前記第1のサ
ーチにより得られた評価値の最大値が前記他の閾値を上
回る場合に前記第2のサーチを実行し、当該第2のサー
チによって得られた評価値に基づいて、評価値のピーク
に対応するレンズ位置を合焦位置と判断し、当該合焦位
置に前記レンズを移動させることを特徴としている。
According to the second aspect, another threshold value larger than the threshold value is set, and the maximum value of the evaluation values obtained by the first search exceeds the other threshold value. The second search is executed, and the lens position corresponding to the peak of the evaluation value is determined to be the focus position based on the evaluation value obtained by the second search, and the lens is moved to the focus position. It is characterized by being moved.

【0010】第2のサーチを実行するか否かの判定基準
となる閾値を複数設定(値の異なる二つの閾値を設定)
し、第1のサーチで得た最大評価値が低い方の閾値(下
位閾値)よりも小さい場合は第2のサーチを禁止する
が、第1のサーチで得た最大評価値が高い方の閾値(上
位閾値)よりも大きい場合には、第2のサーチによる合
焦位置の検出が可能(合焦可能)であると判断して、第
2のサーチを実行する。ピーク対応位置(合焦位置)の
検出は、実際に評価値を算出したレンズ位置のみなら
ず、所定のサーチステップで離散的に取得される評価値
から補間演算等によって評価値のピークに対応するレン
ズ位置を求めてもよい。
[0010] A plurality of thresholds as criteria for determining whether to execute the second search are set (two thresholds having different values are set).
If the maximum evaluation value obtained in the first search is smaller than the lower threshold value (lower threshold value), the second search is prohibited, but the maximum evaluation value obtained in the first search is higher. If it is larger than (upper threshold), it is determined that the in-focus position can be detected by the second search (focusing is possible), and the second search is executed. The detection of the peak corresponding position (in-focus position) corresponds not only to the lens position where the evaluation value is actually calculated, but also to the peak of the evaluation value by interpolation or the like from the evaluation values discretely acquired in a predetermined search step. The lens position may be determined.

【0011】また、請求項3に示したように、前記他の
閾値を「上位閾値」、これよりも小さい前記閾値を「下
位閾値」と呼ぶとき、前記第1のサーチにより得られた
評価値の最大値が前記下位閾値と前記上位閾値の間であ
る場合に、前記第1のサーチにより得られた評価値に基
づいて評価値のピークの有無を判別するピーク判別手段
を備え、前記サーチ制御手段は、前記ピーク判別手段に
よってピークが存在しない旨の判別を得た場合には前記
第2のサーチを禁止することを特徴としている。
Further, when the other threshold value is referred to as an "upper threshold value" and the lower threshold value is referred to as a "lower threshold value", the evaluation value obtained by the first search is determined. A peak discriminating means for discriminating the presence or absence of a peak of the evaluation value based on the evaluation value obtained by the first search, when the maximum value of the search control is between the lower threshold and the upper threshold. The means is characterized in that the second search is prohibited when the peak discriminating means obtains a discrimination that no peak exists.

【0012】第1のサーチで得た最大評価値が下位閾値
と上位閾値の間に入る場合は、評価値のピーク(評価値
曲線が増加から減少に切り換わる極値)が存在している
か否かの追加判定を行う。その結果、ピークが存在しな
ければ合焦不能と判断して第2のサーチを禁止し、ピー
クが存在していれば合焦可能と判断して第2のサーチを
実行する。
When the maximum evaluation value obtained in the first search falls between the lower threshold value and the upper threshold value, whether or not a peak of the evaluation value (an extreme value at which the evaluation value curve switches from increasing to decreasing) exists. Is determined. As a result, if there is no peak, it is determined that focusing is impossible and the second search is prohibited, and if there is a peak, it is determined that focusing is possible and the second search is executed.

【0013】請求項4に記載の発明は、レンズを介して
入射する被写体の光学像を電気信号に変換する撮像手段
を有し、前記撮像手段から出力される画像信号を用いて
算出される画像の鮮鋭度を示す評価値に基づいて前記レ
ンズの焦点位置を調節する自動焦点調節装置において、
該装置は、前記レンズを焦点調節領域内で移動させるレ
ンズ移動手段と、前記レンズ移動手段によって移動され
る各レンズ位置毎に、前記撮像手段から出力される画像
信号から前記被写体のコントラスト成分を抽出し、該コ
ントラスト成分に応じた評価値を算出する評価値算出手
段と、前記焦点調節領域内で前記レンズを比較的大きな
間隔で移動させながら各レンズ位置で評価値を取得する
第1のサーチを実施する第1のサーチ手段と、前記第1
のサーチにより得られた評価値のピークに対応する位置
の近傍に前記レンズを移動させた後、当該ピークに対応
する位置の近傍を前記第1のサーチよりも小さな間隔で
前記レンズを移動させながら各レンズ位置で評価値を取
得する第2のサーチを実施する第2のサーチ手段と、前
記第1のサーチにより得られた評価値に基づいて評価値
のピークの有無を判別するピーク判別手段と、前記ピー
ク判別手段によってピークが存在しない旨の判別を得た
場合には前記第2のサーチを禁止するサーチ制御手段
と、を備えたことを特徴としている。
According to a fourth aspect of the present invention, there is provided an image pickup device for converting an optical image of a subject incident through a lens into an electric signal, and an image calculated using an image signal output from the image pickup device. An automatic focus adjustment device that adjusts the focal position of the lens based on an evaluation value indicating the sharpness of
The apparatus includes a lens moving unit that moves the lens within a focus adjustment area, and extracts a contrast component of the subject from an image signal output from the imaging unit for each lens position moved by the lens moving unit. Evaluation value calculation means for calculating an evaluation value according to the contrast component; and a first search for obtaining an evaluation value at each lens position while moving the lens at relatively large intervals in the focus adjustment area. A first search means to be implemented;
After moving the lens near the position corresponding to the peak of the evaluation value obtained by the search, while moving the lens near the position corresponding to the peak at a smaller interval than in the first search, Second search means for performing a second search for obtaining an evaluation value at each lens position, and peak determining means for determining whether or not a peak of the evaluation value exists based on the evaluation value obtained by the first search. And a search control unit for prohibiting the second search when the peak determination unit determines that no peak exists.

【0014】本発明によれば、サーチステップが比較的
大きい第1のサーチ動作によって評価値のピークが検出
されなかった場合には、合焦不能と判断し、第2のサー
チを禁止する制御を行う。これにより、不要な合焦動作
を省略できる。
According to the present invention, when the peak of the evaluation value is not detected by the first search operation in which the search step is relatively large, it is determined that focusing is impossible, and the control for prohibiting the second search is performed. Do. Thereby, unnecessary focusing operation can be omitted.

【0015】ピークの有無を判別する方法として、請求
項5に示した態様によれば、前記ピーク判別手段は、前
記第1のサーチにおいて評価値が連続して所定回数減少
又は所定回数増加しなかった場合にピークが存在しない
ものと判断することを特徴としている。なお、評価値が
連続して減少するか又は増加するかの違いは、レンズ移
動方向(サーチ方向)に依存する。
According to a fifth aspect of the present invention, as the method for determining the presence or absence of a peak, the peak determining means does not continuously reduce or increase the evaluation value a predetermined number of times in the first search. In this case, it is determined that there is no peak in the case where the peak is present. The difference between whether the evaluation value continuously decreases or increases depends on the lens moving direction (search direction).

【0016】請求項6に記載の態様は、自動焦点調節
(AF)時における撮影光学系の被写界深度に応じて、
前記第1のサーチを実施するか否かの判断を行う第1の
サーチ実行判定手段を備え、前記第1のサーチ実行判定
手段により前記第1のサーチを実行しない旨の判定を得
た場合に前記焦点調節領域内で前記第2のサーチと同等
のサーチ間隔で前記レンズを移動させながら各レンズ位
置で評価値を取得するサーチを実施し、当該サーチで得
られた評価値のピークに対応するレンズ位置を合焦位置
と判断し、当該合焦位置に前記レンズを移動させること
を特徴としている。
According to a sixth aspect, in accordance with the depth of field of the photographing optical system at the time of automatic focusing (AF),
A first search execution determining means for determining whether or not to execute the first search; and when the first search execution determining means determines that the first search is not to be executed, A search for obtaining an evaluation value at each lens position is performed while moving the lens at a search interval equivalent to the second search in the focus adjustment area, and the search corresponds to the peak of the evaluation value obtained in the search. It is characterized in that the lens position is determined to be a focus position, and the lens is moved to the focus position.

【0017】第1のサーチ後に第2のサーチを行うAF
方式は、被写界深度が浅い場合(焦点調節領域が広い場
合)に、AFの高速化を達成するのに有効な方式であ
る。被写界深度が深い(焦点調節領域が狭い)場合に
は、第1のサーチと第2のサーチを行うメリットが得ら
れない状況も発生し得るため、被写界深度の深浅に応じ
て第1のサーチの実行有無を判断し、より高速にAFで
きる方式を自動的に選択する態様が好ましい。
AF for performing a second search after the first search
The method is an effective method for achieving high-speed AF when the depth of field is shallow (when the focus adjustment area is wide). If the depth of field is deep (the focus adjustment area is narrow), a situation may occur in which the merits of performing the first search and the second search cannot be obtained. It is preferable to determine whether or not to perform the first search and automatically select a method that can perform AF at a higher speed.

【0018】請求項7に示した態様によれば、前記第1
のサーチ実行判定手段は、前記撮影光学系を構成するズ
ームレンズの焦点距離と絞りの組合せによって規定され
ている判定基準データを参照して前記第1のサーチの実
行の有無を判定するものとし、前記判定基準データは、
前記第1のサーチを実施する場合と実施しない場合と
で、何方がより高速にAFを行うことができるかを基準
に前記第1のサーチの実行有無を切り換えるように設定
されていることを特徴としている。
According to the aspect shown in claim 7, the first
The search execution determining means determines whether or not to execute the first search by referring to determination reference data defined by a combination of a focal length and an aperture of a zoom lens constituting the imaging optical system, The criterion data,
It is characterized in that whether to execute the first search is switched on the basis of which can perform the AF at a higher speed depending on whether the first search is performed or not. And

【0019】また、上記した目的を達成する方法発明を
提供するため、請求項8に記載の発明は、レンズを介し
て入射する被写体の光学像を撮像手段によって電気信号
に変換し、前記撮像手段から出力される画像信号を用い
て画像の鮮鋭度を示す評価値を算出し、得られた評価値
に基づいて前記レンズの焦点位置を調節する自動焦点調
節方法において、該方法は、焦点調節領域内で前記レン
ズを比較的大きな間隔で移動させながら各レンズ位置で
前記撮像手段から出力される画像信号から前記被写体の
コントラスト成分を抽出し、該コントラスト成分に応じ
た評価値を算出する第1のサーチ工程と、前記第1のサ
ーチ工程により得られた評価値の最大値を予め設定され
ている閾値と比較する工程と、前記第1のサーチ工程に
より得られた評価値の最大値が前記閾値よりも大きい場
合に実施され得る第2のサーチ工程であって、前記第1
のサーチ工程によって得られた評価値のピークに対応す
る位置の近傍に前記レンズを移動させた後、当該ピーク
に対応する位置の近傍を前記第1のサーチ工程よりも小
さな間隔で前記レンズを移動させながら各レンズ位置で
評価値を取得する第2のサーチ工程と、前記第1のサー
チ工程により得られた評価値の最大値が前記閾値よりも
小さい場合に前記第2のサーチを禁止する工程と、を含
むことを特徴としている。
In order to provide a method for achieving the above-mentioned object, the invention according to claim 8 converts an optical image of a subject incident through a lens into an electric signal by an image pickup means, Calculating an evaluation value indicating the sharpness of the image using the image signal output from the camera, and adjusting the focal position of the lens based on the obtained evaluation value. Extracting a contrast component of the subject from an image signal output from the image pickup unit at each lens position while moving the lens at a relatively large interval within, and calculating an evaluation value according to the contrast component. A search step, a step of comparing the maximum value of the evaluation values obtained in the first search step with a preset threshold value, and an evaluation obtained in the first search step. A second search step of the maximum value of the may be performed is larger than the threshold value, the first
Moving the lens near the position corresponding to the peak of the evaluation value obtained in the search step, and then moving the lens near the position corresponding to the peak at a smaller interval than in the first search step A second search step of acquiring an evaluation value at each lens position while performing the second search step, and a step of prohibiting the second search when the maximum value of the evaluation values obtained in the first search step is smaller than the threshold value And is characterized by including.

【0020】請求項9に記載の態様によれば、前記閾値
よりも大きい他の閾値が設定されており、前記第1のサ
ーチ工程により得られた評価値の最大値が前記他の閾値
を上回る場合には前記第2のサーチ工程を実行し、当該
第2のサーチ工程によって得られた評価値に基づいて、
評価値のピークに対応するレンズ位置を合焦位置と判断
し、当該合焦位置に前記レンズを移動させる工程を含む
ことを特徴としている。
According to the ninth aspect, another threshold value larger than the threshold value is set, and the maximum value of the evaluation values obtained in the first search step exceeds the other threshold value. In this case, the second search step is performed, and based on the evaluation value obtained in the second search step,
The method is characterized in that it includes a step of determining a lens position corresponding to the peak of the evaluation value as a focus position and moving the lens to the focus position.

【0021】請求項10に記載の態様は、前記第1のサ
ーチ工程により得られた評価値の最大値が前記下位閾値
と前記上位閾値の間である場合に、前記第1のサーチ工
程により得られた評価値に基づいて評価値のピークの有
無を判別するピーク判別工程を含み、前記ピーク判別工
程によってピークが存在しない旨の判別を得た場合には
前記第2のサーチ工程を禁止することを特徴としてい
る。
According to a tenth aspect of the present invention, when the maximum value of the evaluation values obtained in the first search step is between the lower threshold value and the upper threshold value, the evaluation value obtained in the first search step is obtained. A peak discriminating step of discriminating the presence or absence of a peak of the evaluation value based on the obtained evaluation value, and prohibiting the second search step if the peak discriminating step determines that no peak exists. It is characterized by.

【0022】請求項11に記載の発明は、レンズを介し
て入射する被写体の光学像を撮像手段によって電気信号
に変換し、前記撮像手段から出力される画像信号を用い
て画像の鮮鋭度を示す評価値を算出し、得られた評価値
に基づいて前記レンズの焦点位置を調節する自動焦点調
節方法において、該方法は、焦点調節領域内で前記レン
ズを比較的大きな間隔で移動させながら各レンズ位置で
前記撮像手段から出力される画像信号から前記被写体の
コントラスト成分を抽出し、該コントラスト成分に応じ
た評価値を算出する第1のサーチ工程と、前記第1のサ
ーチ工程により得られた評価値に基づいて、評価値のピ
ークの有無を判別するピーク判別工程と、前記ピーク判
別工程によってピークが存在する旨の判別を得た場合に
実施され得る第2のサーチ工程であって、前記第1のサ
ーチ工程によって得られた評価値のピークに対応する位
置の近傍に前記レンズを移動させた後、当該ピークに対
応する位置の近傍を前記第1のサーチ工程よりも小さな
間隔で前記レンズを移動させながら各レンズ位置で評価
値を取得する第2のサーチ工程と、前記ピーク判別手段
によってピークが存在しない旨の判別を得た場合には前
記第2のサーチを禁止する工程と、を含むことを特徴と
している。
According to an eleventh aspect of the present invention, an optical image of a subject incident through a lens is converted into an electric signal by an image pickup means, and the sharpness of the image is indicated using an image signal output from the image pickup means. An automatic focus adjustment method for calculating an evaluation value and adjusting a focal position of the lens based on the obtained evaluation value, the method comprising: moving each of the lenses at relatively large intervals within a focus adjustment area. A first search step of extracting a contrast component of the subject from an image signal output from the imaging means at a position and calculating an evaluation value corresponding to the contrast component; and an evaluation obtained by the first search step. A peak discriminating step of discriminating the presence or absence of a peak of the evaluation value based on the value, and a second discriminating step that can be performed when the peak discriminating step determines that a peak exists. In the search step, after moving the lens near a position corresponding to the peak of the evaluation value obtained in the first search step, the first search step is performed near the position corresponding to the peak. A second search step of obtaining an evaluation value at each lens position while moving the lens at a smaller interval, and a second search step when the peak determining means determines that no peak exists. And a step of prohibiting.

【0023】[0023]

【発明の実施の形態】以下添付図面に従って本発明に係
る自動焦点調節装置及び方法の好ましい実施の形態につ
いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of an automatic focusing apparatus and method according to the present invention will be described below with reference to the accompanying drawings.

【0024】図1は、本発明が適用されたデジタルカメ
ラの外観図である。デジタルカメラ10の前面には、撮
影レンズ12、ファインダー窓14、ストロボ発光部1
6が設けられ、カメラ上面には、シャッターボタン18
及び電源スイッチ20が配設されている。また、グリッ
プ部22と反対側のカメラ側面には、メモリカード24
を装着するためのカードスロット26が設けられてい
る。
FIG. 1 is an external view of a digital camera to which the present invention is applied. A photographing lens 12, a viewfinder window 14, a strobe light emitting unit 1
6, a shutter button 18 is provided on the top of the camera.
And a power switch 20. A memory card 24 is provided on the side of the camera opposite to the grip 22.
Is provided with a card slot 26 for mounting the card.

【0025】撮影レンズ12には焦点距離可変のレンズ
(例えば、ズームレンズ)が用いられ、撮影レンズ12
の後方にCCDイメージセンサ(図1中不図示、図3に
おいて符号52として記載、以下、CCDという。)が
配置されている。シャッターボタン18は押し込む位置
によって2段階に分かれており、押し込む位置の浅いS
1 が押されると、自動ピント合わせ(AF)及び自動露
出制御(AE)が行われ、S1 から更に押し込む位置の
深いS2 が押されると、記録用の撮影動作(露光、読み
出し)が実行される。
A variable focal length lens (for example, a zoom lens) is used as the photographing lens 12.
A CCD image sensor (not shown in FIG. 1; described as 52 in FIG. 3; hereinafter, referred to as CCD) is disposed behind the image sensor. The shutter button 18 is divided into two stages depending on the position where the shutter button is pressed.
When 1 is pressed, automatic focusing (AF) and automatic exposure control (AE) are performed, and when S2, which is deeper than S1, is pressed, photographing operations for recording (exposure and reading) are performed. .

【0026】電源スイッチ20は、モード切換スイッチ
と兼用されており、電源OFFとなる「OFF位置」、
静止画撮影モードで電源ONとなる「撮影ON位置」、
及び再生モードで電源ONとなる「再生ON位置」の3
ポジションを切り換えることができる。なお、本例のよ
うな電源スイッチ(以下、電源兼用モードスイッチとい
う。)20に代えて、電源ON/OFFのみの電源スイ
ッチと、静止画撮影モード及び再生モードを切り換える
モードダイヤル等のモード切換手段を設けてもよい。
The power switch 20 is also used as a mode change switch, and has an "OFF position" at which the power is turned off,
"Shooting ON position" which is turned on in still image shooting mode,
And the "reproduction ON position" which is turned on in the reproduction mode.
The position can be switched. It should be noted that instead of the power switch (hereinafter, referred to as a power / mode switch) 20 as in this example, a power switch only for power ON / OFF and a mode switching means such as a mode dial for switching between a still image shooting mode and a reproduction mode are provided. May be provided.

【0027】図2は、デジタルカメラ10の背面側外観
図である。デジタルカメラ10の背面には、ファインダ
ー28、液晶モニタ30、ズームスイッチ32、十字ボ
タン34、メニューキー38、実行キー40及びキャン
セルキー42が設けられている。液晶モニタ30は、撮
影時に画角確認用の電子ファインダーとして使用できる
とともに、撮影した画像のプレビュー画やメモリカード
24から読み出した再生画像等を表示可能な表示手段で
ある。また、十字ボタン34を使用したメニューの選択
や各メニューにおける各種項目の設定なども液晶モニタ
30の表示画面を用いて行われる。
FIG. 2 is a rear view of the digital camera 10. On the back of the digital camera 10, a finder 28, a liquid crystal monitor 30, a zoom switch 32, a cross button 34, a menu key 38, an execution key 40, and a cancel key 42 are provided. The liquid crystal monitor 30 is a display means that can be used as an electronic finder for confirming the angle of view during photographing, and can display a preview image of a photographed image, a reproduced image read from the memory card 24, and the like. Selection of menus using the cross button 34 and setting of various items in each menu are also performed using the display screen of the liquid crystal monitor 30.

【0028】ズームスイッチ32は、上下方向に操作可
能なレバースイッチで構成され、該スイッチを上方向に
操作することで望遠(TELE)方向にズーム移動し、下方
向に操作することで広角(WIDE)方向にズーム移動す
る。十字ボタン34は、上下左右の4方向の指示を入力
可能な多機能ボタンであり、メニュー画面における各種
設定項目の選択や設定内容の変更を指示する操作ボタン
として使用されるとともに、電子ズームの倍率調整や再
生コマの送り/戻しを指示する手段として用いられる。
The zoom switch 32 is composed of a lever switch that can be operated in the up and down direction. The switch is zoomed in the telephoto (TELE) direction by operating the switch upward, and the wide angle (WIDE) is operated by operating the switch downward. ) Zoom in the direction. The cross button 34 is a multi-function button capable of inputting four directions of up, down, left, and right. The cross button 34 is used as an operation button for instructing selection of various setting items on the menu screen and changing of setting contents. It is used as a means for instructing adjustment and forwarding / returning of a playback frame.

【0029】メニューキー38は、各モードの通常画面
からメニュー画面へ遷移させる時に使用される。実行キ
ー40は、選択内容の確定、処理の実行(確認)指示の
時などに使用される。キャンセルキー42は、メニュー
から選んだ項目の取消し(キャンセル)や1つ前の操作
状態に戻る時などに使用される。
The menu key 38 is used to make a transition from the normal screen of each mode to the menu screen. The execution key 40 is used, for example, when confirming the selected contents or instructing execution (confirmation) of processing. The cancel key 42 is used to cancel (cancel) an item selected from the menu or to return to the previous operation state.

【0030】撮影者は、ファインダー28又は液晶モニ
タ30に映し出されるリアルタイム画像(スルー画)を
確認しながら、ズームスイッチ32を操作して画角を決
定し、シャッターボタン18を押下して撮影を行う。
The photographer operates the zoom switch 32 to determine the angle of view while checking the real-time image (through image) displayed on the viewfinder 28 or the liquid crystal monitor 30, and presses the shutter button 18 to perform photographing. .

【0031】図3は、デジタルカメラ10の内部構成を
示すブロック図である。撮影レンズ12は、固定レンズ
44、変倍レンズ46A、補正レンズ46B及びフォー
カスレンズ48の4群型インナーフォーカス式ズームレ
ンズで構成されている。
FIG. 3 is a block diagram showing the internal configuration of the digital camera 10. The taking lens 12 includes a four-group inner-focus zoom lens including a fixed lens 44, a variable power lens 46A, a correction lens 46B, and a focus lens 48.

【0032】変倍レンズ46Aと補正レンズ46Bは、
図示せぬカム機構によって両者の位置関係が規制されな
がら光軸に沿って移動し、焦点距離を変更する。なお、
説明の便宜上、変倍レンズ46Aと補正レンズ46Bか
ら成る変倍光学系を「ズームレンズ46」と呼ぶことに
する。
The variable power lens 46A and the correction lens 46B
The camera moves along the optical axis while the positional relationship between the two is regulated by a cam mechanism (not shown), and changes the focal length. In addition,
For convenience of description, a variable power optical system including a variable power lens 46A and a correction lens 46B will be referred to as a "zoom lens 46".

【0033】撮影レンズ12を通過した光は、絞り50
により光量が調節された後、CCD52に入射する。C
CD52の受光面には、フォトセンサが平面的に配列さ
れており、撮影レンズ12を介してCCD52の受光面
に結像された被写体像は、各フォトセンサによって入射
光量に応じた量の信号電荷に変換される。なお、CCD
52は、シャッターゲートパルスのタイミングによって
各フォトセンサの電荷蓄積時間(シャッタースピード)
を制御する、いわゆる電子シャッター機能を有してい
る。
The light that has passed through the taking lens 12 is
After the light amount is adjusted by the above, the light enters the CCD 52. C
Photosensors are arranged in a plane on the light-receiving surface of the CD 52. The subject image formed on the light-receiving surface of the CCD 52 via the photographing lens 12 has a signal charge corresponding to the amount of incident light by each photosensor. Is converted to In addition, CCD
Reference numeral 52 denotes the charge accumulation time (shutter speed) of each photosensor according to the timing of the shutter gate pulse.
, Which is a so-called electronic shutter function.

【0034】各フォトセンサに蓄積された信号電荷は、
CCDドライバ54から与えられるパルスに基づいて信
号電荷に応じた電圧信号(画像信号)として順次読み出
される。CCD52から出力された画像信号は、アナロ
グ処理部56に送られる。アナログ処理部56は、サン
プリングホールド回路、色分離回路、ゲイン調整回路等
の信号処理回路を含み、このアナログ処理部56におい
て、相関二重サンプリング(CDS)処理並びにR,
G,Bの各色信号に色分離処理され、各色信号の信号レ
ベルの調整(プリホワイトバランス処理)が行われる。
The signal charge stored in each photosensor is:
The signals are sequentially read out as voltage signals (image signals) corresponding to the signal charges based on the pulses supplied from the CCD driver 54. The image signal output from the CCD 52 is sent to the analog processing unit 56. The analog processing unit 56 includes a signal processing circuit such as a sampling hold circuit, a color separation circuit, and a gain adjustment circuit. In the analog processing unit 56, correlated double sampling (CDS) processing,
Each of the G and B color signals is subjected to color separation processing, and the signal level of each color signal is adjusted (pre-white balance processing).

【0035】アナログ処理部56から出力された信号
は、A/D変換器58によりデジタル信号に変換された
後、メモリ60に格納される。タイミングジェネレータ
(TG)62は、CPU64の指令に従ってCCDドラ
イバ54、アナログ処理部56及びA/D変換器58に
対してタイミング信号を与えており、このタイミング信
号によって各回路の同期がとられている。
The signal output from the analog processing section 56 is converted into a digital signal by the A / D converter 58 and stored in the memory 60. The timing generator (TG) 62 gives a timing signal to the CCD driver 54, the analog processing unit 56, and the A / D converter 58 in accordance with a command from the CPU 64, and the circuits are synchronized by the timing signal. .

【0036】メモリ60に格納されたデータは、バス6
6を介して信号処理部68に送られる。信号処理部68
は、輝度・色差信号生成回路、ガンマ補正回路、シャー
プネス補正回路、コントラスト補正回路、ホワイトバラ
ンス補正回路等を含むデジタルシグナルプロセッサ(D
SP)で構成された画像処理手段であり、CPU64か
らのコマンドに従って画像信号を処理する。
The data stored in the memory 60 is transmitted to the bus 6
6 to the signal processing section 68. Signal processing unit 68
Is a digital signal processor (D) including a luminance / color difference signal generation circuit, a gamma correction circuit, a sharpness correction circuit, a contrast correction circuit, a white balance correction circuit, and the like.
SP), and processes an image signal in accordance with a command from the CPU 64.

【0037】信号処理部68に入力された画像データ
は、輝度信号(Y信号)及び色差信号(Cr,Cb 信号)
に変換されるとともに、ガンマ補正等の所定の処理が施
された後、メモリ60に格納される。撮影画像を表示出
力する場合、メモリ60から画像データが読み出され、
表示用メモリ70に転送される。表示用メモリ70に記
憶されたデータは、表示用の所定方式の信号(例えば、
NTSC方式のカラー複合映像信号)に変換された後、
D/A変換器72を介して液晶モニタ(LCD)30に
出力される。こうして、当該画像データの画像内容が液
晶モニタ30の画面上に表示される。
The image data input to the signal processing unit 68 includes a luminance signal (Y signal) and a color difference signal (Cr, Cb signal).
After being converted to, and subjected to predetermined processing such as gamma correction, the data is stored in the memory 60. When displaying the captured image, the image data is read from the memory 60,
The data is transferred to the display memory 70. The data stored in the display memory 70 is a signal of a predetermined system for display (for example,
After being converted to an NTSC color composite video signal)
The data is output to the liquid crystal monitor (LCD) 30 via the D / A converter 72. Thus, the image content of the image data is displayed on the screen of the liquid crystal monitor 30.

【0038】CCD52から出力される画像信号によっ
てメモリ60内の画像データが定期的に書き換えられ、
その画像データから生成される映像信号が液晶モニタ3
0に供給されることにより、CCD52を介して入力す
る画像がリアルタイムに液晶モニタ30に表示される。
The image data in the memory 60 is periodically rewritten by the image signal output from the CCD 52,
The video signal generated from the image data is transmitted to the liquid crystal monitor 3
By being supplied to 0, an image input via the CCD 52 is displayed on the liquid crystal monitor 30 in real time.

【0039】撮影者がズームスイッチ32を操作する
と、その指示信号がCPU64に入力され、CPU64
はズームスイッチ32からの信号に基づいてズーム駆動
部74を制御してズームレンズ46をテレ(TELE)方向
又はワイド(WIDE)方向に移動させる。ズーム駆動部7
4は図示せぬモータを含み、該モータの駆動力によって
ズームレンズ46が駆動される。ズームレンズ46の位
置(ズーム位置)は、ズーム位置センサ76によって検
出され、該センサ76の検出信号はCPU64に入力さ
れる。
When the photographer operates the zoom switch 32, an instruction signal is input to the CPU 64,
Controls the zoom drive unit 74 based on the signal from the zoom switch 32 to move the zoom lens 46 in the tele (TELE) direction or the wide (WIDE) direction. Zoom drive 7
Reference numeral 4 includes a motor (not shown), and the zoom lens 46 is driven by the driving force of the motor. The position (zoom position) of the zoom lens 46 is detected by a zoom position sensor 76, and a detection signal from the sensor 76 is input to the CPU 64.

【0040】同様に、フォーカス駆動部78は図示せぬ
モータを含み、該モータの駆動力によってフォーカスレ
ンズ48が光軸に沿って前後動する。フォーカスレンズ
48の位置(フォーカス位置)は、フォーカス位置セン
サ80によって検出され、該センサ80の検出信号はC
PU64に入力される。
Similarly, the focus driving section 78 includes a motor (not shown), and the focus lens 48 moves back and forth along the optical axis by the driving force of the motor. The position of the focus lens 48 (focus position) is detected by a focus position sensor 80, and the detection signal of the sensor 80 is C
It is input to PU64.

【0041】電源兼用モードスイッチ20によって静止
画撮影モードが設定され、シャッターボタン18が「半
押し」されると(S1 =ON)、AE及びAF処理が行
われる。すなわち、CPU64は、後述する評価値演算
の結果に基づいてフォーカス駆動部78を制御してフォ
ーカスレンズ48を合焦位置に移動させるとともに、絞
り50の開口径やCCD52の電子シャッター値を算出
する。AF時には被写体を追従するため、被写体像が液
晶モニタ30に動画として表示される。
When the still image shooting mode is set by the power / mode switch 20 and the shutter button 18 is "half-pressed" (S1 = ON), AE and AF processes are performed. That is, the CPU 64 controls the focus driving unit 78 to move the focus lens 48 to the in-focus position based on the result of the evaluation value calculation described later, and calculates the aperture diameter of the diaphragm 50 and the electronic shutter value of the CCD 52. The subject image is displayed as a moving image on the liquid crystal monitor 30 to follow the subject during AF.

【0042】シャッターボタン18が「全押し」操作さ
れると(S2 =ON)、撮影開始指示(レリーズON)
信号が発せられる。CPU64は、レリーズON信号を
検知して記録用の撮像動作を実行する。すなわち、CP
U64は、AE演算の結果に基づいて露出制御を行い、
また、必要に応じてストロボ制御回路82にコマンドを
送り、ストロボ発光部16の発光を制御する。
When the shutter button 18 is fully pressed (S2 = ON), a photographing start instruction (release ON)
A signal is emitted. The CPU 64 detects a release ON signal and executes an imaging operation for recording. That is, CP
U64 performs exposure control based on the result of the AE operation,
A command is sent to the flash control circuit 82 as needed to control the light emission of the flash light emitting unit 16.

【0043】こうして、シャッターボタン18の押下操
作に応動して、記録用の画像データの取り込みが開始さ
れ、所要の信号処理が行われる。画像データを圧縮記録
するモードが選択されている場合、CPU64は圧縮伸
張回路84にコマンドを送る。圧縮伸張回路84は、メ
モリ60に取り込まれた画像データをJPEGその他の
所定の形式に従って圧縮する。
In this way, in response to the pressing operation of the shutter button 18, the capture of the image data for recording is started, and the required signal processing is performed. When the mode for compressing and recording image data is selected, the CPU 64 sends a command to the compression / expansion circuit 84. The compression / expansion circuit 84 compresses the image data taken into the memory 60 according to JPEG or another predetermined format.

【0044】圧縮された画像データは、カードインター
フェース86を介してメモリカード24に記録される。
非圧縮の画像データを記録するモード(非圧縮モード)
が選択されている場合には、圧縮伸張回路84による圧
縮処理は省略され、非圧縮のまま画像データがメモリカ
ード24に記録される。
The compressed image data is recorded on the memory card 24 via the card interface 86.
Mode for recording uncompressed image data (uncompressed mode)
Is selected, the compression processing by the compression / expansion circuit 84 is omitted, and the image data is recorded on the memory card 24 without being compressed.

【0045】本例のデジタルカメラ10では、画像デー
タを保存する手段として、例えばスマートメディア(So
lid-State Floppy Disk Card)が適用される。記録メデ
ィアの形態はこれに限定されず、PCカード、コンパク
トフラッシュ(登録商標)、磁気ディスク、光ディス
ク、光磁気ディスク、メモリスティック(登録商標)な
どでもよく、電子的、磁気的、若しくは光学的、又はこ
れらの組合せによる方式に従って読み書き可能な種々の
媒体を用いることができる。使用される媒体に応じた信
号処理手段とインターフェースが適用される。異種、同
種の記録メディアを問わず、複数の媒体を装着可能な構
成にしてもよい。また、画像を保存する手段は、リムー
バブルメディアに限らず、デジタルカメラ10に内蔵さ
れた記録媒体(内部メモリ)であってもよい。内部メモ
リに画像を保存する態様の場合、データをパソコン等の
外部機器に転送するための通信用インターフェースが設
けられる。
In the digital camera 10 of this embodiment, for example, smart media (So
lid-State Floppy Disk Card) is applied. The form of the recording medium is not limited to this, and may be a PC card, a compact flash (registered trademark), a magnetic disk, an optical disk, a magneto-optical disk, a memory stick (registered trademark), or the like, and may be electronic, magnetic, optical, Alternatively, various media that can be read and written according to a system based on a combination thereof can be used. Signal processing means and interfaces corresponding to the medium used are applied. A configuration may be adopted in which a plurality of media can be mounted irrespective of different types or the same type of recording media. The means for storing images is not limited to a removable medium, but may be a recording medium (internal memory) built in the digital camera 10. In the case of storing images in the internal memory, a communication interface for transferring data to an external device such as a personal computer is provided.

【0046】電源兼用モードスイッチ20によって再生
モードが設定されると、メモリカード24から画像ファ
イルが読み出される。読み出された画像データは、必要
に応じて圧縮伸張回路84によって伸張処理され、表示
用メモリ70を介して液晶モニタ30に出力される。
When the reproduction mode is set by the power / mode switch 20, an image file is read from the memory card 24. The read image data is subjected to expansion processing by a compression / expansion circuit 84 as necessary, and output to the liquid crystal monitor 30 via the display memory 70.

【0047】CPU64は、本カメラシステムの各回路
を統括制御する制御部である。CPU64は、電源兼用
モードスイッチ20、シャッターボタン18、ズームス
イッチ32その他の操作部から受入する入力信号に基づ
き、対応する回路の動作を制御するとともに、液晶モニ
タ30における表示制御、オートフォーカス(AF)制
御及び自動露出(AE)制御等を行う。なお、メモリ6
0は、CPU64の作業領域として兼用され、評価値デ
ータその他の演算に必要なデータ等はメモリ60に記憶
される。
The CPU 64 is a control section for controlling the circuits of the camera system. The CPU 64 controls the operation of the corresponding circuits based on input signals received from the power / mode switch 20, the shutter button 18, the zoom switch 32, and other operation units, and controls display on the liquid crystal monitor 30, auto focus (AF). Control and automatic exposure (AE) control are performed. Note that the memory 6
0 is also used as a work area of the CPU 64, and evaluation value data and other data necessary for calculation are stored in the memory 60.

【0048】ここでオートフォーカス制御について説明
する。A/D変換器58によってデジタル信号に変換さ
れた画像信号は、評価値演算部88に入力される。評価
値演算部88は、高周波成分抽出回路90と積算回路9
2を有し、入力される画像信号のうちG成分のデータを
サンプリングしてAF検出対象エリア(図4中符号94
として記載、以下、フォーカスエリアという。)内での
高周波成分を抽出するとともにその絶対値をとり、設定
されたエリア内で絶対値データを積算して得られた値
(評価値に相当)をCPU64に提供する。
Here, the auto focus control will be described. The image signal converted into a digital signal by the A / D converter 58 is input to the evaluation value calculation unit 88. The evaluation value calculation unit 88 includes a high frequency component extraction circuit 90 and an integration circuit 9
2, the G component data of the input image signal is sampled, and the AF detection target area (reference numeral 94 in FIG. 4) is used.
Hereinafter, it is referred to as a focus area. ), The absolute value of the high frequency component is extracted, and the absolute value data is integrated within the set area, and a value (corresponding to an evaluation value) obtained by the integration is provided to the CPU 64.

【0049】AF検出の対象エリアは、画像領域の全体
である必要はなく、図4に示したように、画像の中央部
分の一部領域がフォーカスエリア94として設定されて
いる。AF処理時にCPU64は、フォーカスレンズ4
8を焦点調節領域内で無限遠から至近(又は至近から無
限遠)の方向に移動させながら、複数のAF検出ポイン
ト(サーチポイント)で画像中央部分のコントラストを
検出し、評価値を算出する。各サーチポイントで算出さ
れた評価値を総合して、評価値がピーク(最大値又は極
大値)となるレンズ位置を合焦位置として決定し、求め
た合焦位置にフォーカスレンズ48を移動させるように
フォーカス駆動部78を制御する。
The target area for AF detection does not need to be the entire image area. As shown in FIG. 4, a partial area at the center of the image is set as the focus area 94. During the AF process, the CPU 64
While moving 8 from infinity to close (or from close to infinity) in the focus adjustment area, the contrast of the central part of the image is detected at a plurality of AF detection points (search points), and the evaluation value is calculated. The evaluation value calculated at each search point is integrated, the lens position where the evaluation value reaches a peak (maximum value or local maximum value) is determined as the focus position, and the focus lens 48 is moved to the calculated focus position. To control the focus driving section 78.

【0050】図5は、AFサーチによって評価値を取得
した例が示されている。フォーカスエリア94内に主要
な被写体が1つだけ存在する場合には、図5のように評
価値のピークは1つだけ現れる。この場合、ピークに対
応するレンズ位置(P)を合焦位置として、ここにフォ
ーカスレンズ48を移動させればよい。
FIG. 5 shows an example in which evaluation values are obtained by AF search. When only one main subject exists in the focus area 94, only one peak of the evaluation value appears as shown in FIG. In this case, the lens position (P) corresponding to the peak is set as the focus position, and the focus lens 48 may be moved here.

【0051】撮影レンズ12の焦点距離が長くなるにつ
れて、また、絞り50の開口径が大きくなるに従って被
写界深度が浅くなり、合焦する範囲も狭くなる。図6に
は撮影レンズ12の焦点距離と焦点調節領域300との
関係が示されている。同図は、焦点距離を7mmから2
1mmまで段階的に変更できる撮影レンズ12の例が示
され、撮影レンズ12の焦点距離が長くなるに従ってフ
ォーカスレンズ48による焦点調節領域300が広くな
っている。例えば、焦点距離7mmの時には、無限遠か
ら最至近までのフォーカスレンズ48の移動可能範囲は
8.17μm、焦点距離21mmのときの焦点調節領域
300は735μmである。CPU64は、焦点調節領
域300の広さに応じて、評価値を算出するレンズ位置
(サーチポイント)の幅を示すAFステップ幅302と
ステップ段数(検出ポイント数)を設定する。
As the focal length of the photographing lens 12 becomes longer and the aperture diameter of the aperture 50 becomes larger, the depth of field becomes shallower and the focusing range becomes narrower. FIG. 6 shows the relationship between the focal length of the taking lens 12 and the focus adjustment area 300. In the figure, the focal length is changed from 7 mm to 2
An example of the photographing lens 12 that can be changed stepwise to 1 mm is shown, and as the focal length of the photographing lens 12 increases, the focus adjustment area 300 of the focus lens 48 increases. For example, when the focal length is 7 mm, the movable range of the focus lens 48 from infinity to the closest distance is 8.17 μm, and when the focal length is 21 mm, the focus adjustment area 300 is 735 μm. The CPU 64 sets the AF step width 302 indicating the width of the lens position (search point) for calculating the evaluation value and the number of steps (the number of detection points) according to the size of the focus adjustment area 300.

【0052】撮影レンズ12の焦点距離が長くなるにつ
れ、焦点調節領域300(無限遠から至近まで)のフォ
ーカス送り量(モータ駆動のパルス数)が多くなり、A
F時間が長くなる。そこで、焦点調節領域300が広く
なる場合には、AF時間の高速化のため、焦点調節領域
300内を一度、比較的大きなフォーカス送り量(サー
チ間隔)で評価値を取得する「ラフサーチ」を行い、ラ
フサーチによって得られた評価値のピーク付近について
更に微小なサーチ間隔で評価値を取得する「詳細サー
チ」を行い、合焦位置を検出する制御が行われる。
As the focal length of the taking lens 12 becomes longer, the focus feed amount (the number of motor drive pulses) of the focus adjustment area 300 (from infinity to the closest) increases, and A
The F time becomes longer. Therefore, when the focus adjustment area 300 is widened, in order to speed up the AF time, a “rough search” is performed in which the evaluation value is obtained once in the focus adjustment area 300 at a relatively large focus feed amount (search interval). A "detailed search" for obtaining an evaluation value at a finer search interval is performed in the vicinity of the peak of the evaluation value obtained by the rough search, and control for detecting the in-focus position is performed.

【0053】図7にラフサーチと詳細サーチの概念図を
示す。例えば、無限遠から至近までのフォーカス送り量
が240パルスであり、ラフサーチ時のフォーカス送り
パルス数は20パルス、詳細サーチ時のフォーカス送り
パルス数は2パルスに設定されているものとする。同図
によれば、まず、無限遠からNEAR方向にラフサーチが開
始される。ラフサーチは、20パルス毎にサーチポイン
トが変更され、各ポイントで評価値の算出を行う。
FIG. 7 is a conceptual diagram of the rough search and the detailed search. For example, it is assumed that the focus feed amount from infinity to close distance is 240 pulses, the number of focus feed pulses during rough search is set to 20, and the number of focus feed pulses during detailed search is set to 2 pulses. According to the figure, first, a rough search is started from infinity in the NEAR direction. In the rough search, a search point is changed every 20 pulses, and an evaluation value is calculated at each point.

【0054】ラフサーチにおいてピークが検出され、例
えば、100パルスのポジションで評価値取得処理の中
断が決定されると、詳細サーチの初期位置(Pds) にフ
ォーカス移動され、ここからFAR 方向に詳細サーチが開
始される。詳細サーチでは2パルス毎にサーチポイント
が変更され、各ポイントで評価値の算出を行い、ピーク
検出後、連続して所定回数評価値が減少したら評価値取
得処理の中断を決定し、ピーク対応位置(合焦位置)に
フォーカスレンズ48を駆動する。
When a peak is detected in the rough search and, for example, the interruption of the evaluation value acquisition processing is determined at the position of 100 pulses, the focus is moved to the initial position (Pds) of the detailed search, and the detailed search is performed in the FAR direction. Be started. In the detailed search, the search point is changed every two pulses, the evaluation value is calculated at each point, and after the peak is detected, if the evaluation value continuously decreases a predetermined number of times, the interruption of the evaluation value acquisition processing is determined, and the peak corresponding position is determined. The focus lens 48 is driven to (focus position).

【0055】ところで、図8に示すように、フォーカス
エリア94内に距離の異なる複数の被写体が存在する場
合には、両方の被写体に対して合焦させることができ
ず、どちらか一方の被写体についてピント合わせを行う
必要がある。一般に距離の異なる複数の被写体が検出さ
れた場合は、至近側の被写体にピントを合わせることが
行われる。
As shown in FIG. 8, when a plurality of subjects having different distances exist in the focus area 94, it is impossible to focus on both subjects, and one of the subjects is not focused. It is necessary to focus. Generally, when a plurality of subjects having different distances are detected, focusing is performed on the subject on the closest side.

【0056】図9は、フォーカスエリア94内に距離の
異なる複数の被写体が存在する場合の評価値の取得結果
の一例である。図8で説明したように、フォーカスエリ
ア94内に距離の異なる複数の被写体が存在する場合に
は、図9のように評価値の曲線において2つ以上のピー
クが存在する。この場合は、最も至近側のピーク位置付
近を詳細サーチすることが行われる。
FIG. 9 shows an example of a result of obtaining an evaluation value when a plurality of subjects at different distances exist in the focus area 94. As described with reference to FIG. 8, when a plurality of subjects with different distances exist in the focus area 94, two or more peaks exist in the evaluation value curve as shown in FIG. In this case, a detailed search near the nearest peak position is performed.

【0057】従来、ラフサーチにおいてピークが検出さ
れなかった場合は、全焦点調節領域を詳細サーチしてピ
ークを検出することが行われていたが、全焦点調節領域
について詳細サーチを実行すると焦点調節領域が広く時
間がかかるため、最終的に合焦できない場合は、時間の
無駄が大きくなる。
Conventionally, when no peak was detected in the rough search, the peak was detected by performing a detailed search of the entire focus adjustment area. However, it takes a long time, and when focusing cannot be finally performed, time is wasted.

【0058】そのため、本実施形態では、ラフサーチ終
了時点で最終的に合焦できるかどうかの判断を行い、合
焦可能と判断された場合には詳細サーチを行う一方で、
合焦不能と判断された場合には詳細サーチを禁止して不
要な合焦動作を省略する。ラフサーチ後の合焦可能性判
定の方法としては、以下のような例がある。
Therefore, in the present embodiment, it is determined whether or not focusing can be finally performed at the end of the rough search, and when it is determined that focusing is possible, a detailed search is performed.
If it is determined that focusing cannot be performed, the detailed search is prohibited and unnecessary focusing operations are omitted. As a method of determining the possibility of focusing after the rough search, there is the following example.

【0059】被写体が非常に暗く、また被写体が合焦可
能距離範囲外であるといった合焦できない場合には、焦
点調節領域内においてコントラスト成分が低く、ラフサ
ーチで得られる評価値は低くなる。そこで、ラフサーチ
で得られる最大評価値が所定の閾値を超えるか否かを判
断基準として、詳細サーチの実行有無を決定する方法が
ある。
When the subject is extremely dark and cannot be focused, such as when the subject is out of the focusable distance range, the contrast component is low in the focus adjustment area, and the evaluation value obtained by the rough search is low. Therefore, there is a method of determining whether or not to execute a detailed search based on whether a maximum evaluation value obtained by a rough search exceeds a predetermined threshold value.

【0060】また、ラフサーチにおいてピークが検出さ
れた場合には詳細サーチを実施し、ラフサーチにおいて
ピークが検出されなかった場合は詳細サーチを禁止する
方法もある。具体的には、連続して所定回数評価値が減
少又は増加した場合に「ピークが存在した」旨の判定を
行う。
There is also a method of performing a detailed search when a peak is detected in the rough search, and prohibiting the detailed search when no peak is detected in the rough search. Specifically, when the evaluation value continuously decreases or increases a predetermined number of times, it is determined that "there was a peak".

【0061】更に、上記2つの方法を組合せた方法も好
ましい。すなわち、判断基準となる2つの閾値(T1 >
T2 )を設定し、ラフサーチでの最大評価値と比較す
る。最大評価値が第1の閾値T1 (大きい方)を超える
場合には詳細サーチを行い、第2の閾値T2 (小さい
方)を下回る場合には詳細サーチを禁止する。そして、
最大評価値が第1の閾値T1 と第2の閾値T2 の間であ
る場合(最大評価値のみで合焦可能性を判断できない場
合)には、ラフサーチにおいてピークが存在したか否か
(評価値が所定回数減少したか否か)で詳細サーチの実
行有無を決定するものとする。
Further, a method combining the above two methods is also preferable. That is, two thresholds (T1>
T2) is set and compared with the maximum evaluation value in the rough search. If the maximum evaluation value exceeds the first threshold value T1 (larger one), a detailed search is performed. If the maximum evaluation value is less than the second threshold value T2 (smaller one), the detailed search is prohibited. And
When the maximum evaluation value is between the first threshold value T1 and the second threshold value T2 (when the possibility of focusing cannot be determined only by the maximum evaluation value), it is determined whether or not a peak exists in the rough search (evaluation value). Whether or not the detailed search has been executed is determined based on whether or not has been reduced by a predetermined number of times.

【0062】図10乃至図16を用いてその制御手順を
詳説する。図10は、AF時のフローチャートである。
シャッターボタン18の半押し操作(S1 =ON)によ
り、AF処理がスタートすると、CPU64は、まず、
フォーカスエリア94の設定を行う(ステップS10
1)。次いで、撮影レンズ12の焦点距離の現在値、す
なわち、現在のズーム位置(ZOOMPOS)の情報を取得する
(ステップS102)。
The control procedure will be described in detail with reference to FIGS. FIG. 10 is a flowchart at the time of AF.
When the AF process is started by half-pressing the shutter button 18 (S1 = ON), the CPU 64 first
The focus area 94 is set (step S10).
1). Next, the current value of the focal length of the photographing lens 12, that is, information on the current zoom position (ZOOMPOS) is obtained (step S102).

【0063】次いで、ラフサーチを行うか否かの判定処
理を行う(ステップS104)。ラフサーチ実行の有無
は、ラフサーチを実行する場合と、実行しない場合とで
何方がより高速にAFできるかを基準に決定される。具
体的には、以下に述べる判定プログラムに従って判断さ
れる。
Next, a process for determining whether or not to perform a rough search is performed (step S104). Whether or not rough search is performed is determined based on which can perform AF at a higher speed when rough search is performed and when rough search is not performed. Specifically, the determination is made according to a determination program described below.

【0064】図11はラフサーチ実行判定処理のフロー
チャートであり、図12は判定基準データの一例を示す
図表である。同図の例は、撮影レンズ12として、焦点
距離44.93mm(ZOOMPOS =1 )〜8.10mm
(ZOOMPOS =20)の間で段階的に焦点距離を可変でき
るズームレンズが用いられており、各ズーム位置毎にラ
フサーチの実行有無を切り換える絞り(アパーチャーバ
リュー:AV値)が図12のように規定されている。こ
の判定基準データは、図示せぬ不揮発性記憶手段(EE
PROM等)に格納されており、CPU64が必要に応
じて参照する。絞りは、F2.8(3AV)〜F11
(7AV)の範囲で1/3AV刻みで13種類存在する
ものとし、AF時に使用する絞りは、その中から被写体
の明るさに応じて自動的に決定される。
FIG. 11 is a flowchart of rough search execution determination processing, and FIG. 12 is a chart showing an example of determination reference data. In the example shown in the figure, the focal length of the taking lens 12 is 44.93 mm (ZOOMPOS = 1) to 8.10 mm.
(ZOOMPOS = 20) A zoom lens capable of changing the focal length stepwise is used, and the aperture (aperture value: AV value) for switching the execution of rough search for each zoom position is defined as shown in FIG. Have been. This criterion data is stored in a non-volatile storage unit (EE, not shown).
PROM, etc.), and the CPU 64 refers to it as needed. Aperture is from F2.8 (3AV) to F11
It is assumed that there are 13 types in the range of (7AV) in 1 / 3AV increments, and the aperture used during AF is automatically determined from the aperture according to the brightness of the subject.

【0065】CPU64は、AF時のズーム位置と絞り
の情報を読み込み、これを図12に示したデータテーブ
ルと比較することにより、ラフサーチ実行の有無を決定
する。すなわち、図11に示したラフサーチ実行判定処
理がスタートすると、まず、AF時の絞り情報(AFAV)
を取得する(ステップS410)。次いで、ステップS
412に進み、図12に示したデータテーブルを参照し
てラフサーチ実行の切換絞り(AV_TABLE [ZOOMPOS] )
と、取得したAFAVの大小関係を比較する。ステップS4
12において、AFAV<AV_TABLE [ZOOMPOS] を満たす場
合(YES判定時)は、ラフサーチを実行する旨の決定
を行う(ステップS414)。その一方、ステップS4
12においてAFAV≧AV_TABLE [ZOOMPOS] を満たす場合
(NO判定時)は、ラフサーチを実行しない旨の決定を
行う(ステップS416)。ステップS414又はステ
ップS416において、ラフサーチの実行有無を決定し
た後は、図10のフローチャートに復帰し、ステップS
106に進む。
The CPU 64 reads the information on the zoom position and the aperture at the time of AF and compares the information with the data table shown in FIG. 12 to determine whether or not to execute the rough search. That is, when the rough search execution determination processing shown in FIG. 11 starts, first, aperture information (AFAV) at the time of AF
Is acquired (step S410). Then, step S
Proceeding to 412, referring to the data table shown in FIG. 12, the switching aperture for executing the rough search (AV_TABLE [ZOOMPOS])
And the magnitude relationship of the acquired AFAV is compared. Step S4
In 12, when AFAV <AV_TABLE [ZOOMPOS] is satisfied (when YES is determined), it is determined that a rough search is to be executed (step S 414). On the other hand, step S4
If AFAV ≧ AV_TABLE [ZOOMPOS] is satisfied in 12 (NO determination), it is determined not to execute the rough search (step S416). After determining whether or not to execute the rough search in step S414 or S416, the process returns to the flowchart of FIG.
Proceed to 106.

【0066】ステップS106では、ラフサーチ実行判
定処理の判定結果に基づいて、ラフサーチを実行するか
否かを判断する。ステップS106において、ラフサー
チ無しの判定(NO判定)を得た場合は、ラフサーチ処
理を省略してステップS142に進む。他方、ステップ
S106においてラフサーチ有りとの判定(YES判
定)を得た場合は、ラフサーチを実行すべく、ステップ
S110に進む。すなわち、ステップS110では、ラ
フサーチを開始する初期位置にフォーカスレンズ48を
移動する。そして、当該フォーカス段(サーチポイン
ト)における評価値を算出する(ステップS116)。
算出された評価値はCPU64に入力され、CPU64
は、当該サーチポイントにおける評価値をメモリ60に
記憶する。
In step S106, it is determined whether or not to execute a rough search based on the result of the rough search execution determination processing. If the determination of no rough search (NO determination) is obtained in step S106, the rough search process is omitted and the process proceeds to step S142. On the other hand, if it is determined in step S106 that there is a rough search (YES determination), the process proceeds to step S110 to execute a rough search. That is, in step S110, the focus lens 48 is moved to the initial position where the rough search is started. Then, an evaluation value at the focus stage (search point) is calculated (step S116).
The calculated evaluation value is input to the CPU 64 and the CPU 64
Stores the evaluation value at the search point in the memory 60.

【0067】次いでステップS120に進み、サーチ動
作を中断するか否かの判定処理を行う。ここで、中断判
定処理のサブルーチンについて説明する。図5と図9を
比較すると明らかなように、図5のグラフでは、無限遠
から至近へ向かうAFサーチ動作によって評価値のピー
クを検出した後、更に同方向のレンズ移動で評価値を取
得した場合、フォーカスレンズ48がピーク位置Pから
一定の距離dだけ離れると評価値がゼロレベル近くまで
下がるのに対し、図9のように複数の被写体が存在する
ときは、第1のピークを検出した以後、評価値がゼロレ
ベル近くまで下がりきらずに、再度増加に転じている。
Then, the process proceeds to a step S120, wherein a process for determining whether or not to interrupt the search operation is performed. Here, the subroutine of the interruption determination processing will be described. As is apparent from a comparison between FIG. 5 and FIG. 9, in the graph of FIG. 5, after the peak of the evaluation value is detected by the AF search operation from infinity to the closest, the evaluation value is further obtained by moving the lens in the same direction. When the focus lens 48 moves away from the peak position P by a certain distance d, the evaluation value decreases to near zero level, whereas when a plurality of subjects exist as shown in FIG. However, the evaluation value did not fall to near the zero level, but started to increase again.

【0068】かかる事実に注目して、評価値のピークを
検出したレンズ位置から一定の距離dだけ離れた位置で
の評価値が所定の閾値TH 以下ならば、その先に被写体
が存在しないと判断し、AFサーチを終了することがで
きる。その一方、評価値のピークを検出したレンズ位置
から一定の距離dだけ離れた位置での評価値が所定の閾
値TH よりも大きい値ならば、その先に別の被写体が存
在する可能性があると判断し、同方向のAFサーチ動作
を継続する。なお、ピーク位置Pからの距離dは、許容
錯乱円の約10倍〜20倍程度に設定することが好まし
い。そして、かかるAFサーチ動作によって複数のピー
ク(極大値)が検出された場合には、最も近距離のピー
ク位置を合焦位置として決定する。
By paying attention to this fact, if the evaluation value at a position separated by a certain distance d from the lens position where the peak of the evaluation value is detected is equal to or less than a predetermined threshold value TH, it is determined that the subject does not exist beyond that. Then, the AF search can be ended. On the other hand, if the evaluation value at a position separated by a certain distance d from the lens position at which the peak of the evaluation value is detected is a value larger than the predetermined threshold value TH, another subject may exist ahead of it. And the AF search operation in the same direction is continued. Note that the distance d from the peak position P is preferably set to about 10 to 20 times the allowable circle of confusion. If a plurality of peaks (maximum values) are detected by the AF search operation, the closest peak position is determined as the focus position.

【0069】ところで、被写体が暗い場合など、撮像信
号のノイズが発生し、図13に示すように、ピークは1
つのみでも評価値が閾値TH 以下にならない状況が起こ
り得る。しかし、図13と図9を比較すると明らかなよ
うに、至近側に別の被写体が存在する場合(図9)は、
最至近よりもある程度手前の位置から評価値が増加する
傾向が認められる。これに対し、ノイズ等の原因で評価
値が低下しない場合(図13)には、最至近よりも一定
の距離w以上手前であっても評価値は増加傾向に転じな
い。
By the way, when the subject is dark or the like, noise of the imaging signal occurs, and as shown in FIG.
A situation can occur in which the evaluation value does not fall below the threshold value TH. However, as is apparent from a comparison between FIG. 13 and FIG. 9, when another subject exists on the close side (FIG. 9),
It is recognized that the evaluation value tends to increase from a position slightly before the closest distance. On the other hand, when the evaluation value does not decrease due to noise or the like (FIG. 13), the evaluation value does not change to an increasing tendency even if the evaluation value is more than a certain distance w from the closest distance.

【0070】したがって、最至近から一定距離w以遠で
評価値が増加方向にあるか否かを判断することによって
至近側に別の被写体が存在するか否かの判別が可能であ
る。最至近から一定距離w以遠での評価値が増加方向に
無ければ、至近側に被写体が存在しないものとして、A
Fサーチ動作を終了させる。なお、図13では至近(NE
AR) 側を説明したが無限遠(FAR )方向のAFサーチ動
作についても同様に無限遠から一定距離wだけ離れた位
置で評価値が増加傾向になければ、無限遠側に被写体が
存在するものと判断できる。
Therefore, it is possible to determine whether or not another subject exists on the close side by determining whether or not the evaluation value is in the increasing direction at a distance more than a certain distance w from the closest. If there is no evaluation value in the increasing direction at a distance more than a certain distance w from the closest distance, it is determined that no subject exists on the close side and A
The F search operation ends. Note that in FIG.
The AR search side has been described. However, in the AF search operation in the infinity (FAR) direction, similarly, if the evaluation value does not tend to increase at a position separated from the infinity by a certain distance w, it is assumed that the subject exists at the infinity side. I can judge.

【0071】上述した事情を勘案して、ラフサーチの中
断判定の処理プログラムが構成されている。この中断判
定処理のサブルーチンを図14に示す。同図に示した中
断判定処理がスタートすると、まず、評価値が増加から
減少に転じるピークが検出されたか否かの判定を行う
(ステップS510)。この判定は、後述の「ピーク有
りフラグ」の状態に基づいて判断される。
In consideration of the circumstances described above, a processing program for determining whether or not to suspend the rough search is configured. FIG. 14 shows a subroutine of this interruption determination processing. When the interruption determination process shown in the figure starts, it is first determined whether or not a peak at which the evaluation value changes from increasing to decreasing is detected (step S510). This determination is made based on the state of a “peak presence flag” described later.

【0072】ステップS510において、ピークが検出
されなければ(NO判定時)、ステップS512に進
み、評価値が減少したか否かの判定を行う。ステップS
512でNO判定を得たときは評価値取得処理の継続を
決定し(ステップS518)、本サブルーチンを終了し
て図10のフローチャートに復帰する。
If no peak is detected in step S510 (NO determination), the flow advances to step S512 to determine whether or not the evaluation value has decreased. Step S
If a negative determination is obtained in 512, continuation of the evaluation value acquisition processing is determined (step S518), and this subroutine is terminated, and the flow returns to the flowchart of FIG.

【0073】図14のステップS512において、評価
値が減少したことが検出されると、ステップS514に
分岐する。ステップS514では、減少する前の評価値
が増加傾向にあったか否かの判定を行う。ステップS5
14でYES判定を得た場合には、AFサーチ動作によ
って算出された評価値の最大値(AFmax )と最小値(AF
min)との差が所定の値Lよりも大きいか否かが判定され
る(ステップS515)。ステップS515においてY
ES判定を得た場合には、「ピーク有りフラグ」をON
にセットするとともに、ピークを検出したフォーカス位
置(ピーク位置)を示す変数Pのデータを更新する(ス
テップS516)。ステップS516の後、又はステッ
プS515においてNO判定を得た場合には、ステップ
S518へ進み、評価値取得処理の継続を決定する。
If it is detected in step S512 of FIG. 14 that the evaluation value has decreased, the flow branches to step S514. In step S514, it is determined whether or not the evaluation value before the decrease has been increasing. Step S5
If a YES determination is made in step 14, the maximum (AFmax) and minimum (AFmax) evaluation values calculated by the AF search operation are calculated.
It is determined whether or not the difference from (min) is greater than a predetermined value L (step S515). In step S515, Y
If ES determination is obtained, "Peak flag" is turned ON.
And the data of the variable P indicating the focus position (peak position) at which the peak was detected is updated (step S516). After step S516, or if a NO determination is obtained in step S515, the process proceeds to step S518, and continuation of the evaluation value acquisition process is determined.

【0074】「ピーク有りフラグ」がONにセットされ
ると、ステップS510においてYES判定となる。こ
の場合、ステップS520に進み、サーチ方向がNEAR方
向であるか否かの判定を行う。サーチ方向がNEAR方向で
あるとき(YES判定時)は、現在のフォーカス位置
(サーチポイント)が、ピーク位置Pから所定の距離
(d)を超えて至近側にあるか否かの判定を行う(ステ
ップS522)。現在位置がピーク位置Pから所定距離
d以内の範囲にあれば(NO判定時)、ステップS52
8へ進み、サーチ方向についての残り検出ポイント数が
所定の値(m)よりも小さいか否かの判定を行う。この
所定値mは図13で説明した距離wに相当する値であ
る。
When the "peak presence flag" is set to ON, a YES determination is made in step S510. In this case, the process proceeds to step S520, and it is determined whether the search direction is the NEAR direction. When the search direction is the NEAR direction (when YES is determined), it is determined whether or not the current focus position (search point) is closer than a predetermined distance (d) from the peak position P to the nearest side ( Step S522). If the current position is within a predetermined distance d from the peak position P (NO determination), step S52 is performed.
Then, it is determined whether the number of remaining detection points in the search direction is smaller than a predetermined value (m). This predetermined value m is a value corresponding to the distance w described in FIG.

【0075】ステップS528において、残り検出ポイ
ント数が所定値m以上であるときは(NO判定時)、評
価値取得処理の継続を決定し(ステップS532)、図
10のフローチャートに復帰する。その一方、図14の
ステップS528でYES判定を得たときは、ステップ
S530に進み、評価値が増加したか否かを判定する。
In step S528, when the number of remaining detection points is equal to or larger than the predetermined value m (NO determination), continuation of the evaluation value acquisition process is determined (step S532), and the process returns to the flowchart of FIG. On the other hand, if a YES determination is obtained in step S528 in FIG. 14, the process proceeds to step S530, and it is determined whether the evaluation value has increased.

【0076】ステップS530で評価値の増加が検出さ
れると(YES判定時)、ステップS532に進んで評
価値取得処理の継続を決定するが(ステップS53
2)、ステップS530において評価値が増加していな
ければ(NO判定時)、ステップS536に移行して評
価値取得処理の中断を決定し、図10のフローチャート
へ復帰する。
If an increase in the evaluation value is detected in step S530 (when YES is determined), the flow advances to step S532 to determine continuation of the evaluation value acquisition process (step S53).
2) If the evaluation value has not increased in step S530 (NO determination), the process moves to step S536 to determine the interruption of the evaluation value acquisition process, and returns to the flowchart of FIG.

【0077】また、図14のステップS522において
現在のフォーカス位置がピーク位置Pから所定距離dを
超えて至近側にあるとき(YES判定時)は、ステップ
S524に分岐する。ステップS524では、現在のフ
ォーカス位置における評価値が所定の閾値TH よりも小
さい値であるか否かを判定する。
If the current focus position is closer than the predetermined distance d from the peak position P at step S522 in FIG. 14 (YES determination), the flow branches to step S524. In step S524, it is determined whether the evaluation value at the current focus position is smaller than a predetermined threshold value TH.

【0078】ステップS524で評価値が閾値TH 以上
であれば(NO判定時)、現在位置よりも至近側に被写
体が存在する可能性に配慮してステップS528に進
む。その一方、ステップS524において評価値が閾値
TH よりも小さい値のときは(YES判定時)、現在位
置よりも至近側に被写体は存在しないものと判断し、評
価値取得処理の中断を決定する(ステップS536)。
If the evaluation value is equal to or larger than the threshold value TH in step S524 (when NO is determined), the process proceeds to step S528 in consideration of the possibility that the subject exists closer than the current position. On the other hand, when the evaluation value is smaller than the threshold value TH in step S524 (when YES is determined), it is determined that the subject does not exist closer to the current position than the current position, and the interruption of the evaluation value acquisition process is determined ( Step S536).

【0079】ステップS520でNO判定の場合、すな
わち、サーチ方向がFAR 方向であるときは、ステップS
526へ進む。ステップS526では、評価値が連続し
て所定回数減少したか否かの判定を行う。連続減少回数
の判断基準となる基準値は被写界深度等を考慮して適宜
設定される。
If the determination in step S520 is NO, that is, if the search direction is the FAR direction, step S520
Proceed to 526. In step S526, it is determined whether the evaluation value has continuously decreased a predetermined number of times. A reference value serving as a criterion for determining the number of continuous reductions is appropriately set in consideration of the depth of field and the like.

【0080】ステップS526においてNO判定を得た
場合には、ステップS528へ進み、上述したステップ
S528〜S536によって中断又は継続の決定が行わ
れる。その一方、ステップS526においてYES判定
を得た場合には、ステップS538へ進み、評価値取得
処理の中断を決定し、図10のフローチャートへ復帰す
る。
If a negative determination is obtained in step S526, the flow advances to step S528, and a determination of interruption or continuation is made in steps S528 to S536 described above. On the other hand, if a YES determination is obtained in step S526, the flow advances to step S538 to determine interruption of the evaluation value acquisition process, and the flow returns to the flowchart in FIG.

【0081】図14で説明した中断判定処理を終了し
て、図10のフローチャートに復帰したら、ステップS
124に進む。図10に示したステップS124では、
上述の中断判定処理の結果に基づいてサーチ動作の中断
又は継続を判定する。「継続」の判定を得た場合には、
ステップS126に進み、フォーカスレンズ48がサー
チポイントの最終段の位置に到達したか否かが判定され
る。
When the interruption determination process described with reference to FIG. 14 is completed and the process returns to the flowchart of FIG.
Proceed to 124. In step S124 shown in FIG.
The interruption or continuation of the search operation is determined based on the result of the above-described interruption determination processing. If you get a "continue" decision,
Proceeding to step S126, it is determined whether or not the focus lens 48 has reached the position of the last stage of the search point.

【0082】ステップS126において、NO判定を得
た場合には、ステップS128に進み、現在のフォーカ
ス段からサーチステップの1ステップ分(AFステップ
幅302)だけフォーカスレンズ48を移動し、ステッ
プS116に戻る。こうして、次のサーチポイントへ移
動され、フォーカス位置の異なるフレーム画像データか
ら評価値が算出される。焦点調節領域300内の各ポイ
ントについてステップS116〜S128の処理が繰り
返され、各ポイントの評価値が順次取得される。
If a NO determination is obtained in step S126, the process proceeds to step S128, in which the focus lens 48 is moved by one search step (AF step width 302) from the current focus stage, and returns to step S116. . In this manner, the evaluation value is moved to the next search point, and the evaluation value is calculated from the frame image data having different focus positions. The processing of steps S116 to S128 is repeated for each point in the focus adjustment area 300, and the evaluation value of each point is sequentially acquired.

【0083】ステップS124において「中断」との判
定を得た場合は、ステップS142に進む。ステップS
142では、ラフサーチの結果を基に詳細サーチの範囲
を求める演算を行う。詳細サーチの範囲は、例えば、ラ
フサーチで検出された評価値のピーク対応位置を含むそ
の前後の所定範囲とされる。なお、ステップS106で
NO判定を得たことによりラフサーチが省略されてステ
ップS142に進んだ場合は、詳細サーチの範囲として
全焦点調節領域が設定される。
If the determination of "interruption" is obtained in step S124, the process proceeds to step S142. Step S
In step 142, an operation for obtaining a range of the detailed search based on the result of the rough search is performed. The range of the detailed search is, for example, a predetermined range before and after the peak corresponding position of the evaluation value detected by the rough search. If the rough search is omitted and the process proceeds to step S142 due to the determination of NO in step S106, the all-focus adjustment area is set as the range of the detailed search.

【0084】次いで、ステップS142において求めた
詳細サーチ範囲に従い、フォーカスレンズ48を詳細サ
ーチ開始位置(詳細サーチ初期位置)に駆動する処理を
行う(ステップS144)。こうして、詳細サーチがス
タートし、当該サーチポイントにおける評価値が算出さ
れる(ステップS146)。得られた評価値はCPU6
4に入力され、CPU64は、当該サーチポイントにお
ける評価値をメモリ60に記憶する。
Next, a process of driving the focus lens 48 to a detailed search start position (detailed search initial position) is performed according to the detailed search range obtained in step S142 (step S144). Thus, the detailed search starts, and the evaluation value at the search point is calculated (step S146). The evaluation value obtained is
4 and the CPU 64 stores the evaluation value at the search point in the memory 60.

【0085】次いで、ステップS148に進み、AFサ
ーチ(詳細サーチ)を中断するか否かの判定処理を行
う。この「中断判定(2)」の内容を図15に示す。こ
の中断判定(2)処理がスタートすると、まず、レジス
タCに現在の焦点距離[ZOOMPOS] に対応するテーブル値
「C _TABLE 」がセットされる(ステップS710)。
これは、各フォーカス段(サーチポイント)で算出され
る評価値が連続して減少した場合に、AFサーチを中断
することを決定するための判断基準となる中断判定値C
を設定する処理である。
Then, the flow advances to step S148 to perform a process for determining whether or not to suspend the AF search (detailed search). FIG. 15 shows the content of the “interruption determination (2)”. When the interruption determination (2) process starts, first, a table value “C_TABLE” corresponding to the current focal length [ZOOMPOS] is set in the register C (step S710).
This is because when the evaluation value calculated at each focus stage (search point) continuously decreases, the interruption determination value C serving as a criterion for determining to suspend the AF search.
This is the process of setting.

【0086】中断判定値Cは、短焦点側(ワイド側)で
はフォーカス段数と同じ数値(図5の例では「4」)若
しくはそれに近い値が設定され、実質的には中断処理を
行わないように設定されている。また、長焦点側(テレ
側)に近づくにつれて中断判定値Cは大きな値となり、
フォーカス段数の約50%〜30%の整数値に設定され
る。
The interruption determination value C is set to the same numerical value as the number of focus steps (“4” in the example of FIG. 5) on the short focus side (wide side) or a value close thereto, so that the interruption processing is not substantially performed. Is set to In addition, the interruption determination value C becomes larger as approaching the long focal length side (tele side),
It is set to an integer value of about 50% to 30% of the number of focus steps.

【0087】次いで、ステップS712に進み、取得さ
れた評価値が減少したか否かの判定を行う。評価値が減
少していないとき(NO判定時)は、AFサーチの継続
を決定して(ステップS722)、本サブルーチンを抜
け、図10のフローチャートに復帰する。
Next, the flow advances to step S712 to determine whether or not the obtained evaluation value has decreased. When the evaluation value has not decreased (NO determination), the continuation of the AF search is determined (step S722), and the process exits this subroutine and returns to the flowchart of FIG.

【0088】図15のステップS712において評価値
が減少しているとの判定を得たときは(YES判定
時)、レジスタn(初期値はn=0とする。)の値に1
が加算され(ステップS214)、続くステップS71
6においてレジスタnの値がレジスタCの値を超えてい
るか否かが判定される。レジスタnの値がレジスタCの
値以下の場合(NO判定時)には、ステップS722に
進んでAFサーチの継続を決定し、図10のフローチャ
ートに復帰する。これにより、評価値が連続してC回減
少するまで、AFサーチが継続される。
When it is determined in step S712 in FIG. 15 that the evaluation value has decreased (when the determination is YES), the value of the register n (the initial value is set to n = 0) is set to 1
Is added (step S214), and the subsequent step S71
At 6, it is determined whether the value of the register n exceeds the value of the register C. If the value of the register n is equal to or less than the value of the register C (NO determination), the process proceeds to step S722 to determine continuation of the AF search, and returns to the flowchart of FIG. Thus, the AF search is continued until the evaluation value continuously decreases C times.

【0089】図15のステップS716においてYES
判定を得た場合、すなわち、評価値が連続してC回減少
したことが検出されると、ステップS718に進む。ス
テップS718では、AFサーチ動作によって算出され
た評価値の最大値(AFmax )と最小値(AFmin)との差が
所定の値Kよりも大きいか否かが判定される。評価値の
差が所定の値Kよりも大きい場合(YES判定時)に
は、所定のコントラストがあることを示しているので、
AFサーチの中断が決定される(ステップS220)。
また、評価値の差が所定の値K以下の場合(NO判定
時)は、ステップS722に進み、AFサーチの継続が
決定される。
YES in step S716 in FIG.
When the determination is obtained, that is, when it is detected that the evaluation value continuously decreases C times, the process proceeds to step S718. In step S718, it is determined whether the difference between the maximum value (AFmax) and the minimum value (AFmin) of the evaluation values calculated by the AF search operation is larger than a predetermined value K. When the difference between the evaluation values is larger than the predetermined value K (when YES is determined), it indicates that there is a predetermined contrast, so that
The interruption of the AF search is determined (step S220).
If the difference between the evaluation values is equal to or smaller than the predetermined value K (when NO is determined), the process proceeds to step S722, and continuation of the AF search is determined.

【0090】ステップS720又はステップS722に
よって「中断」又は「継続」の決定が行われると、本サ
ブルーチンを終了して、図10のフローチャートのステ
ップS150に移行する。
When "interruption" or "continuation" is determined in step S720 or S722, the present subroutine ends, and the flow shifts to step S150 in the flowchart of FIG.

【0091】図10のステップS150では、中断判定
(2)処理(ステップS148)の結果に基づいて、C
PU64はAFサーチの中断又は継続を判断する(ステ
ップS150)。ステップS150で「継続」との判定
を得た時は、ステップS152に進み、サーチポイント
の最終位置に到達したか否かが判定される。
In step S150 of FIG. 10, C is determined based on the result of the interruption determination (2) processing (step S148).
The PU 64 determines whether to suspend or continue the AF search (Step S150). When the determination of “continue” is obtained in step S150, the process proceeds to step S152, and it is determined whether the final position of the search point has been reached.

【0092】ステップS152において、NO判定を得
た場合には、ステップS154に進み、現在のフォーカ
ス位置からAFサーチステップの1ステップ分(2パル
ス)だけフォーカスレンズ48を移動し、ステップS1
46に戻る。こうして、次のサーチポイントへ移動さ
れ、フォーカス位置の異なるフレーム画像データから評
価値が算出される。詳細サーチ範囲の各ポイントについ
てステップS146〜S154の処理が繰り返され、各
サーチポイントの評価値が取得される。
If a NO determination is obtained in step S152, the flow advances to step S154 to move the focus lens 48 from the current focus position by one step (two pulses) of the AF search step.
Return to 46. In this manner, the evaluation value is moved to the next search point, and the evaluation value is calculated from the frame image data having different focus positions. The processing of steps S146 to S154 is repeated for each point in the detailed search range, and the evaluation value of each search point is obtained.

【0093】ステップS150においては「中断」の判
定を得た場合、又はステップS152においてフォーカ
スレンズ48がサーチポイントの最終位置に到達した場
合には、ステップS162に進む。ステップS162で
は評価値の最大値が得られるレンズ位置(合焦位置)が
求められ、その合焦位置にフォーカスレンズ48を移動
する処理が行われる。合焦位置へのレンズ移動動作が完
了すると、合焦状態が達成され、撮影記録許可の状態と
なる(ステップS164)。
If the determination of "interruption" is obtained in step S150, or if the focus lens 48 has reached the final position of the search point in step S152, the process proceeds to step S162. In step S162, a lens position (in-focus position) at which the maximum value of the evaluation value is obtained is obtained, and a process of moving the focus lens 48 to the in-focus position is performed. When the operation of moving the lens to the in-focus position is completed, the in-focus state is achieved, and the shooting and recording are permitted (step S164).

【0094】また、ラフサーチのステップS126でフ
ォーカスレンズ48が最終段の位置に到達した場合(Y
ES判定時)は、ステップS132に進む。ステップS
132では、ラフサーチで得た評価値の結果から、合焦
位置を求めることができるか否かの判定処理が行われ
る。この合焦可能性判定処理のサブルーチンを図16に
示す。
When the focus lens 48 has reached the position of the last stage in the rough search step S126 (Y
(At the time of ES determination), the process proceeds to step S132. Step S
At 132, a process of determining whether or not the in-focus position can be obtained from the result of the evaluation value obtained by the rough search is performed. FIG. 16 shows a subroutine of this focusing possibility determination processing.

【0095】図16に示した合焦可能性判定処理がスタ
ートすると、まず、ラフサーチで得た評価値の最大値AF
max が第1の閾値(上位閾値)T1 よりも大きいか否か
が判定される(ステップS810)。ステップS810
でYES判定を得た場合には、合焦可能であると決定し
(ステップS820)、図10のフローチャートに復帰
する。
When the focusing possibility determination process shown in FIG. 16 starts, first, the maximum value AF of the evaluation values obtained by the rough search
It is determined whether max is greater than a first threshold (upper threshold) T1 (step S810). Step S810
If a YES determination is made in step S820, it is determined that focusing is possible (step S820), and the process returns to the flowchart of FIG.

【0096】図16のステップS810においてNO判
定を得た場合には、ステップS812に分岐する。ステ
ップS812では、ラフサーチで得た評価値の最大値AF
maxが第2の閾値(下位閾値)T2 よりも小さいか否か
が判定される(ステップS812)。第2の閾値T2
は、第1の閾値T1 よりも低い値(T2 <T1 )に設定
されており、最大評価値AFmax が第2の閾値T2 よりも
小さい場合(YES判定時)、合焦不能である旨の決定
を行い(ステップS830)、図10のフローチャート
に復帰する。
If the determination in step S810 in FIG. 16 is NO, the process branches to step S812. In step S812, the maximum value AF of the evaluation values obtained by the rough search
It is determined whether max is smaller than a second threshold value (lower threshold value) T2 (step S812). Second threshold T2
Is set to a value lower than the first threshold value T1 (T2 <T1), and when the maximum evaluation value AFmax is smaller than the second threshold value T2 (when YES is determined), it is determined that focusing cannot be performed. (Step S830), and the process returns to the flowchart of FIG.

【0097】また、図16のステップS812において
NO判定を得た場合、すなわち、最大評価値AFmax が、
第1の閾値T1 と第2の閾値T2 の間(T2 ≦AFmax ≦
T1)であるときは、ステップS814に進む。ステッ
プS814では、評価値が連続して所定回数減少したか
否かを判定する。この判定はラフサーチによって取得さ
れる評価値の曲線がピークを有しているか否かの判断に
相当している。ステップS814でYES判定を得た場
合は「合焦可能」と判断し(ステップS820)、ステ
ップS814でNO判定を得た場合は「合焦不能」と判
断する(ステップS830)。
When the determination in step S812 in FIG. 16 is NO, that is, when the maximum evaluation value AFmax is
Between the first threshold value T1 and the second threshold value T2 (T2≤AFmax≤
If T1), the process proceeds to step S814. In step S814, it is determined whether the evaluation value has continuously decreased a predetermined number of times. This determination corresponds to determining whether the curve of the evaluation value obtained by the rough search has a peak. If a YES determination is obtained in step S814, it is determined that "in-focus possible" (step S820), and if a NO determination is obtained in step S814, it is determined that "in-focus is impossible" (step S830).

【0098】こうして、ステップS820又はステップ
S830で「合焦可能」又は「合焦不能」の決定を行っ
た後、図10のフローチャートのステップS134に進
む。ステップS134では、上記した合焦可能性判定処
理の結果に基づいて、合焦可能か否かを判断し(ステッ
プS134)、合焦可能と判断した時(YES判定時)
はステップS142に進み、詳細サーチを行う。
After the determination of “focusable” or “unfocusable” is made in step S820 or S830, the process proceeds to step S134 in the flowchart of FIG. In step S134, it is determined whether or not focusing is possible based on the result of the focusing possibility determination processing described above (step S134), and when it is determined that focusing is possible (YES determination).
Proceeds to step S142, and performs a detailed search.

【0099】その一方、ステップS134において合焦
不能との判定を得た場合は、詳細サーチを省略して、ス
テップS164に進み、撮影記録許可の状態となる(ス
テップS164)。合焦不能と判断した時は、予め定め
られているパンフォーカス位置(例えば、被写体距離2
mにピントが合う位置などの所定位置)にフォーカスレ
ンズ48を移動する。また、合焦不能の場合には、液晶
モニタ30の画面上に警告を表示するなどして、撮影者
に通知する態様も好ましい。こうして、自動焦点調節処
理は終了する。
On the other hand, if it is determined in step S134 that focusing cannot be performed, the detailed search is omitted, and the flow advances to step S164, where photographing and recording are permitted (step S164). When it is determined that focusing is impossible, a predetermined pan focus position (for example, the subject distance 2
The focus lens 48 is moved to a predetermined position such as a position where the focus is adjusted to m. Further, when focusing is impossible, it is preferable to notify the photographer by displaying a warning on the screen of the liquid crystal monitor 30 or the like. Thus, the automatic focus adjustment processing ends.

【0100】ステップS164において撮影記録許可の
状態が得られると、CPU64によってシャッターボタ
ン18の状態が監視され、シャッターボタン18の全押
し(S2 =ON)に応動して被写体が撮像される。取り
込まれた画像は、所定の信号処理を経て付属情報ととも
にメモリカード24に記録される。
When the photographing and recording permission state is obtained in step S164, the state of the shutter button 18 is monitored by the CPU 64, and the subject is imaged in response to the full depression of the shutter button 18 (S2 = ON). The captured image is recorded on the memory card 24 together with the accessory information through predetermined signal processing.

【0101】上述したように、本実施形態に係るデジタ
ルカメラ10は、ラフサーチ終了時点で合焦可能性判定
を行い、AFによる合焦可能な場合は詳細サーチに移
り、合焦不能の場合には詳細サーチを禁止してAFを終
了するため、不要な合焦動作を省略できる。また、ラフ
サーチ開始前に撮影光学系の被写界深度に基づいて、ラ
フサーチの実行有無を判断し、サーチ時間の短縮に寄与
し得る場合に限り選択的にラフサーチを実行するように
したのでAFの高速化を実現できる。
As described above, the digital camera 10 according to the present embodiment determines the possibility of focusing at the end of the rough search. If the focusing is possible by AF, the process proceeds to the detailed search. Since the detailed search is prohibited and the AF is ended, unnecessary focusing operation can be omitted. Further, before starting the rough search, it is determined whether or not to execute the rough search based on the depth of field of the photographing optical system, and the rough search is selectively executed only when it can contribute to shortening the search time. Higher speed can be realized.

【0102】[0102]

【発明の効果】以上説明したように本発明によれば、焦
点調節領域内を比較的大きなサーチ間隔でサーチ(第1
のサーチ)を行い、ここで得られた評価値を用いて合焦
可能性の判定を行い、合焦可能であると判断されれば焦
点調節領域内を更に小さなサーチ間隔でサーチ(第2の
サーチ)を行うが、第1のサーチ後の合焦可能性判定に
おいて合焦不能であると判断されれば合焦動作を停止す
るようにしたので、不要な合焦動作を省略できる。
As described above, according to the present invention, the search within the focusing area is performed at a relatively large search interval (first search).
Is determined using the evaluation value obtained here, and if it is determined that focusing is possible, the focus adjustment area is searched at a smaller search interval (second search). Search), the focus operation is stopped if it is determined that focusing is impossible in the focus possibility determination after the first search, so that unnecessary focus operation can be omitted.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明が適用されたデジタルカメラの外観図FIG. 1 is an external view of a digital camera to which the present invention is applied.

【図2】図1に示したデジタルカメラの背面側外観図FIG. 2 is a rear view of the digital camera shown in FIG. 1;

【図3】本例のデジタルカメラの内部構成を示すブロッ
ク図
FIG. 3 is a block diagram showing an internal configuration of the digital camera of the present embodiment.

【図4】画面中央部に設定されたフォーカスエリアの例
を示す図
FIG. 4 is a diagram showing an example of a focus area set at the center of the screen;

【図5】フォーカスレンズの移動に伴って変化する評価
値の例を示すグラフ
FIG. 5 is a graph showing an example of an evaluation value that changes as the focus lens moves.

【図6】ズーム位置及びフォーカス位置に応じた焦点調
節領域(AFサーチ範囲)の変化を示す図
FIG. 6 is a diagram showing a change in a focus adjustment area (AF search range) according to a zoom position and a focus position.

【図7】ラフサーチと詳細サーチを組合せたAF方式の
概念図
FIG. 7 is a conceptual diagram of an AF method combining a rough search and a detailed search.

【図8】フォーカスエリア内に距離の異なる複数の被写
体が存在する様子を示した図
FIG. 8 is a diagram showing a state in which a plurality of subjects having different distances exist in a focus area;

【図9】距離の異なる複数の被写体が存在する場合にフ
ォーカスレンズの移動に伴って変化する評価値の例を示
すグラフ
FIG. 9 is a graph showing an example of an evaluation value that changes with movement of a focus lens when a plurality of subjects having different distances exist;

【図10】本例のAF制御の手順を示すフローチャートFIG. 10 is a flowchart illustrating a procedure of AF control according to the present embodiment.

【図11】図10中のラフサーチ実行判定処理のフロー
チャート
FIG. 11 is a flowchart of a rough search execution determination process in FIG. 10;

【図12】ラフサーチ実行の切換判別データの一例を示
す図表
FIG. 12 is a chart showing an example of switching determination data for rough search execution;

【図13】ノイズ等の影響によって評価値が下がらない
現象を例示したグラフ
FIG. 13 is a graph illustrating a phenomenon in which the evaluation value does not decrease due to the influence of noise or the like.

【図14】図10中の中断判定処理のフローチャート14 is a flowchart of an interruption determination process in FIG.

【図15】図10中の中断判定(2)処理のフローチャ
ート
FIG. 15 is a flowchart of an interruption determination (2) process in FIG. 10;

【図16】図10中の合焦可能性判定処理のフローチャ
ート
FIG. 16 is a flowchart of a focusing possibility determination process in FIG. 10;

【符号の説明】[Explanation of symbols]

10…デジタルカメラ、12…撮影レンズ、18…シャ
ッターボタン、48…フォーカスレンズ、52…CCD
(撮像手段)、64…CPU(第1のサーチ手段、第2
のサーチ手段、サーチ制御手段、ピーク判別手段、第1
のサーチ実行判定手段)、78…フォーカス駆動部(レ
ンズ移動手段)、88…評価値演算部(評価値算出手
段)、94…フォーカスエリア
10 digital camera, 12 photographing lens, 18 shutter button, 48 focus lens, 52 CCD
(Imaging means), 64... CPU (first search means, second search means)
Search means, search control means, peak discriminating means, first
Search execution determining means), 78: focus driving section (lens moving means), 88: evaluation value calculating section (evaluation value calculating means), 94: focus area

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 レンズを介して入射する被写体の光学像
を電気信号に変換する撮像手段を有し、前記撮像手段か
ら出力される画像信号を用いて算出される画像の鮮鋭度
を示す評価値に基づいて前記レンズの焦点位置を調節す
る自動焦点調節装置において、該装置は、 前記レンズを焦点調節領域内で移動させるレンズ移動手
段と、 前記レンズ移動手段によって移動される各レンズ位置毎
に、前記撮像手段から出力される画像信号から前記被写
体のコントラスト成分を抽出し、該コントラスト成分に
応じた評価値を算出する評価値算出手段と、 前記焦点調節領域内で前記レンズを比較的大きな間隔で
移動させながら各レンズ位置で評価値を取得する第1の
サーチを実施する第1のサーチ手段と、 前記第1のサーチにより得られた評価値のピークに対応
する位置の近傍に前記レンズを移動させた後、当該ピー
クに対応する位置の近傍を前記第1のサーチよりも小さ
な間隔で前記レンズを移動させながら各レンズ位置で評
価値を取得する第2のサーチを実施する第2のサーチ手
段と、 前記第1のサーチにより得られた評価値の最大値が予め
設定されている閾値よりも小さい場合に前記第2のサー
チを禁止するサーチ制御手段と、 を備えたことを特徴とする自動焦点調節装置。
1. An evaluation value indicating image sharpness calculated using an image signal output from an image signal output from an image signal output from an image signal output from the image pickup device. In an automatic focus adjustment device that adjusts the focal position of the lens based on: a lens moving unit that moves the lens within a focus adjustment region; and for each lens position that is moved by the lens moving unit, An evaluation value calculation unit that extracts a contrast component of the subject from an image signal output from the imaging unit and calculates an evaluation value according to the contrast component; and the lens is disposed at a relatively large interval in the focus adjustment area. First search means for performing a first search for acquiring an evaluation value at each lens position while moving; a peak of the evaluation value obtained by the first search; After moving the lens near the corresponding position, the evaluation value is acquired at each lens position while moving the lens near the position corresponding to the peak at a smaller interval than the first search. Second search means for performing a search of: and search control means for prohibiting the second search when the maximum value of the evaluation values obtained by the first search is smaller than a preset threshold value. An automatic focusing device, comprising:
【請求項2】 前記閾値よりも大きい他の閾値が設定さ
れており、前記第1のサーチにより得られた評価値の最
大値が前記他の閾値を上回る場合に前記第2のサーチを
実行し、当該第2のサーチによって得られた評価値に基
づいて、評価値のピークに対応するレンズ位置を合焦位
置と判断し、当該合焦位置に前記レンズを移動させるこ
とを特徴とする請求項1に記載の自動焦点調節装置。
2. The method according to claim 1, wherein another threshold larger than the threshold is set, and when the maximum value of the evaluation values obtained by the first search exceeds the another threshold, the second search is executed. Determining, based on the evaluation value obtained by the second search, a lens position corresponding to a peak of the evaluation value as a focus position, and moving the lens to the focus position. 2. The automatic focusing device according to 1.
【請求項3】 前記他の閾値を「上位閾値」、これより
も小さい前記閾値を「下位閾値」と呼ぶとき、 前記第1のサーチにより得られた評価値の最大値が前記
下位閾値と前記上位閾値の間である場合に、前記第1の
サーチにより得られた評価値に基づいて評価値のピーク
の有無を判別するピーク判別手段を備え、 前記サーチ制御手段は、前記ピーク判別手段によってピ
ークが存在しない旨の判別を得た場合には前記第2のサ
ーチを禁止することを特徴とする請求項2に記載の自動
焦点調節装置。
3. When the other threshold value is referred to as an “upper threshold value” and the lower threshold value is referred to as a “lower threshold value”, the maximum value of the evaluation values obtained by the first search is equal to the lower threshold value and the lower threshold value. A peak discriminating unit for discriminating the presence or absence of a peak of the evaluation value based on the evaluation value obtained by the first search when the value is between the upper thresholds; 3. The automatic focusing apparatus according to claim 2, wherein the second search is prohibited when it is determined that there is no.
【請求項4】 レンズを介して入射する被写体の光学像
を電気信号に変換する撮像手段を有し、前記撮像手段か
ら出力される画像信号を用いて算出される画像の鮮鋭度
を示す評価値に基づいて前記レンズの焦点位置を調節す
る自動焦点調節装置において、該装置は、 前記レンズを焦点調節領域内で移動させるレンズ移動手
段と、 前記レンズ移動手段によって移動される各レンズ位置毎
に、前記撮像手段から出力される画像信号から前記被写
体のコントラスト成分を抽出し、該コントラスト成分に
応じた評価値を算出する評価値算出手段と、 前記焦点調節領域内で前記レンズを比較的大きな間隔で
移動させながら各レンズ位置で評価値を取得する第1の
サーチを実施する第1のサーチ手段と、 前記第1のサーチにより得られた評価値のピークに対応
する位置の近傍に前記レンズを移動させた後、当該ピー
クに対応する位置の近傍を前記第1のサーチよりも小さ
な間隔で前記レンズを移動させながら各レンズ位置で評
価値を取得する第2のサーチを実施する第2のサーチ手
段と、 前記第1のサーチにより得られた評価値に基づいて評価
値のピークの有無を判別するピーク判別手段と、 前記ピーク判別手段によってピークが存在しない旨の判
別を得た場合には前記第2のサーチを禁止するサーチ制
御手段と、 を備えたことを特徴とする自動焦点調節装置。
4. An evaluation value indicating image sharpness calculated using an image signal output from the imaging means, comprising imaging means for converting an optical image of a subject incident through a lens into an electric signal. An automatic focus adjustment device that adjusts the focal position of the lens based on: a lens moving unit that moves the lens within a focus adjustment area; and for each lens position that is moved by the lens moving unit, An evaluation value calculation unit that extracts a contrast component of the subject from an image signal output from the imaging unit and calculates an evaluation value according to the contrast component; and the lens is disposed at a relatively large interval in the focus adjustment area. First search means for performing a first search for acquiring an evaluation value at each lens position while moving, and a peak of the evaluation value obtained by the first search After moving the lens near the corresponding position, the evaluation value is acquired at each lens position while moving the lens near the position corresponding to the peak at a smaller interval than the first search. A second search means for performing a search, a peak determination means for determining the presence or absence of a peak of an evaluation value based on the evaluation value obtained by the first search, and a message indicating that no peak exists by the peak determination means. And a search control unit for prohibiting the second search when the determination of (1) is obtained.
【請求項5】 前記ピーク判別手段は、前記第1のサー
チにおいて評価値が連続して所定回数減少又は所定回数
増加しなかった場合にピークが存在しないものと判断す
ることを特徴とする請求項3又は4に記載の自動焦点調
節装置。
5. The apparatus according to claim 1, wherein the peak determining means determines that no peak exists when the evaluation value does not continuously decrease or increase a predetermined number of times in the first search. 5. The automatic focusing device according to 3 or 4.
【請求項6】 自動焦点調節(AF)時における撮影光
学系の被写界深度に応じて、前記第1のサーチを実施す
るか否かの判断を行う第1のサーチ実行判定手段を備
え、前記第1のサーチ実行判定手段により前記第1のサ
ーチを実行しない旨の判定を得た場合に前記焦点調節領
域内で前記第2のサーチと同等のサーチ間隔で前記レン
ズを移動させながら各レンズ位置で評価値を取得するサ
ーチを実施し、当該サーチで得られた評価値のピークに
対応するレンズ位置を合焦位置と判断し、当該合焦位置
に前記レンズを移動させることを特徴とする請求項1乃
至5の何れか1項に記載の自動焦点調節装置。
6. A first search execution determining means for determining whether or not to execute the first search in accordance with a depth of field of an imaging optical system at the time of automatic focusing (AF), When the first search execution determination means obtains a determination not to execute the first search, each lens is moved within the focus adjustment area at a search interval equivalent to the second search. A search for obtaining an evaluation value at a position is performed, a lens position corresponding to a peak of the evaluation value obtained in the search is determined to be a focus position, and the lens is moved to the focus position. The automatic focusing device according to claim 1.
【請求項7】 前記第1のサーチ実行判定手段は、前記
撮影光学系を構成するズームレンズの焦点距離と絞りの
組合せによって規定されている判定基準データを参照し
て前記第1のサーチの実行の有無を判定するものとし、
前記判定基準データは、前記第1のサーチを実施する場
合と実施しない場合とで、何方がより高速にAFを行う
ことができるかを基準に前記第1のサーチの実行有無を
切り換えるように設定されていることを特徴とする請求
項6に記載の自動焦点調節装置。
7. The first search execution determining means executes the first search with reference to determination reference data defined by a combination of a focal length and a stop of a zoom lens constituting the photographing optical system. Shall be determined,
The determination criterion data is set so as to switch the execution of the first search based on which can perform the AF at a higher speed depending on whether the first search is performed or not. 7. The automatic focusing apparatus according to claim 6, wherein the automatic focusing is performed.
【請求項8】 レンズを介して入射する被写体の光学像
を撮像手段によって電気信号に変換し、前記撮像手段か
ら出力される画像信号を用いて画像の鮮鋭度を示す評価
値を算出し、得られた評価値に基づいて前記レンズの焦
点位置を調節する自動焦点調節方法において、該方法
は、 焦点調節領域内で前記レンズを比較的大きな間隔で移動
させながら各レンズ位置で前記撮像手段から出力される
画像信号から前記被写体のコントラスト成分を抽出し、
該コントラスト成分に応じた評価値を算出する第1のサ
ーチ工程と、 前記第1のサーチ工程により得られた評価値の最大値を
予め設定されている閾値と比較する工程と、 前記第1のサーチ工程により得られた評価値の最大値が
前記閾値よりも大きい場合に実施され得る第2のサーチ
工程であって、前記第1のサーチ工程によって得られた
評価値のピークに対応する位置の近傍に前記レンズを移
動させた後、当該ピークに対応する位置の近傍を前記第
1のサーチ工程よりも小さな間隔で前記レンズを移動さ
せながら各レンズ位置で評価値を取得する第2のサーチ
工程と、 前記第1のサーチ工程により得られた評価値の最大値が
前記閾値よりも小さい場合に前記第2のサーチを禁止す
る工程と、 を含むことを特徴とする自動焦点調節方法。
8. An optical image of a subject incident through a lens is converted into an electric signal by an imaging unit, and an evaluation value indicating a sharpness of an image is calculated using an image signal output from the imaging unit. An automatic focusing method for adjusting the focal position of the lens based on the obtained evaluation value, the method comprising: moving the lens at a relatively large interval within a focusing area and outputting from the imaging means at each lens position. Extracting a contrast component of the subject from the image signal
A first search step of calculating an evaluation value according to the contrast component; a step of comparing a maximum value of the evaluation values obtained in the first search step with a preset threshold value; A second search step that can be performed when the maximum value of the evaluation values obtained in the search step is larger than the threshold value, wherein the position of the position corresponding to the peak of the evaluation value obtained in the first search step is A second search step of obtaining an evaluation value at each lens position while moving the lens in the vicinity of the position corresponding to the peak after moving the lens to the vicinity at a smaller interval than in the first search step; And a step of prohibiting the second search when the maximum value of the evaluation values obtained in the first search step is smaller than the threshold value.
【請求項9】 前記閾値よりも大きい他の閾値が設定さ
れており、前記第1のサーチ工程により得られた評価値
の最大値が前記他の閾値を上回る場合には前記第2のサ
ーチ工程を実行し、当該第2のサーチ工程によって得ら
れた評価値に基づいて、評価値のピークに対応するレン
ズ位置を合焦位置と判断し、当該合焦位置に前記レンズ
を移動させる工程を含むことを特徴とする請求項8に記
載の自動焦点調節方法。
9. The method according to claim 1, wherein another threshold value larger than the threshold value is set, and the maximum value of the evaluation values obtained in the first search step exceeds the other threshold value. And determining the lens position corresponding to the peak of the evaluation value as the in-focus position based on the evaluation value obtained in the second search step, and moving the lens to the in-focus position 9. The automatic focusing method according to claim 8, wherein:
【請求項10】 前記他の閾値を「上位閾値」、これよ
りも小さい前記閾値を「下位閾値」と呼ぶとき、前記第
1のサーチ工程により得られた評価値の最大値が前記下
位閾値と前記上位閾値の間である場合に、前記第1のサ
ーチ工程により得られた評価値に基づいて評価値のピー
クの有無を判別するピーク判別工程を含み、 前記ピーク判別工程によってピークが存在しない旨の判
別を得た場合には前記第2のサーチ工程を禁止すること
を特徴とする請求項9に記載の自動焦点調節方法。
10. When the other threshold value is referred to as an “upper threshold value” and the smaller threshold value is referred to as a “lower threshold value”, a maximum value of the evaluation values obtained in the first search step is equal to the lower threshold value. A peak discriminating step of discriminating the presence / absence of a peak of the evaluation value based on the evaluation value obtained in the first search step when the peak value is between the upper thresholds; 10. The automatic focus adjustment method according to claim 9, wherein the second search step is prohibited when the determination is made.
【請求項11】 レンズを介して入射する被写体の光学
像を撮像手段によって電気信号に変換し、前記撮像手段
から出力される画像信号を用いて画像の鮮鋭度を示す評
価値を算出し、得られた評価値に基づいて前記レンズの
焦点位置を調節する自動焦点調節方法において、該方法
は、 焦点調節領域内で前記レンズを比較的大きな間隔で移動
させながら各レンズ位置で前記撮像手段から出力される
画像信号から前記被写体のコントラスト成分を抽出し、
該コントラスト成分に応じた評価値を算出する第1のサ
ーチ工程と、 前記第1のサーチ工程により得られた評価値に基づい
て、評価値のピークの有無を判別するピーク判別工程
と、 前記ピーク判別工程によってピークが存在する旨の判別
を得た場合に実施され得る第2のサーチ工程であって、
前記第1のサーチ工程によって得られた評価値のピーク
に対応する位置の近傍に前記レンズを移動させた後、当
該ピークに対応する位置の近傍を前記第1のサーチ工程
よりも小さな間隔で前記レンズを移動させながら各レン
ズ位置で評価値を取得する第2のサーチ工程と、 前記ピーク判別手段によってピークが存在しない旨の判
別を得た場合には前記第2のサーチを禁止する工程と、 を含むことを特徴とする自動焦点調節方法。
11. An optical image of a subject incident through a lens is converted into an electric signal by an imaging unit, and an evaluation value indicating the sharpness of an image is calculated using an image signal output from the imaging unit. An automatic focus adjustment method for adjusting a focal position of the lens based on the obtained evaluation value, the method comprising: moving the lens at a relatively large interval within a focus adjustment area; Extracting a contrast component of the subject from the image signal
A first search step of calculating an evaluation value according to the contrast component; a peak discrimination step of discriminating the presence or absence of a peak of the evaluation value based on the evaluation value obtained in the first search step; A second search step that can be performed when a determination that a peak exists is obtained in the determination step;
After moving the lens near the position corresponding to the peak of the evaluation value obtained in the first search step, the vicinity of the position corresponding to the peak is moved at a smaller interval than in the first search step. A second search step of acquiring an evaluation value at each lens position while moving the lens, and a step of prohibiting the second search when the peak discriminating unit obtains a decision that no peak exists. An automatic focusing method comprising:
JP2001122809A 2001-04-20 2001-04-20 Device and method for automatic focusing Pending JP2002318341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001122809A JP2002318341A (en) 2001-04-20 2001-04-20 Device and method for automatic focusing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001122809A JP2002318341A (en) 2001-04-20 2001-04-20 Device and method for automatic focusing

Publications (1)

Publication Number Publication Date
JP2002318341A true JP2002318341A (en) 2002-10-31

Family

ID=18972463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001122809A Pending JP2002318341A (en) 2001-04-20 2001-04-20 Device and method for automatic focusing

Country Status (1)

Country Link
JP (1) JP2002318341A (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334072A (en) * 2003-05-12 2004-11-25 Fuji Photo Film Co Ltd Imaging apparatus
JP2005189634A (en) * 2003-12-26 2005-07-14 Nikon Corp Focus detector for camera
EP1569441A2 (en) 2004-02-18 2005-08-31 Canon Kabushiki Kaisha Image pickup apparatus and control method thereof
JP2005266784A (en) * 2004-02-18 2005-09-29 Canon Inc Imaging apparatus, its control method, its control program, and storage medium
JP2005326681A (en) * 2004-05-14 2005-11-24 Pentax Corp Focus detector and focus detecting method
JP2006094202A (en) * 2004-09-24 2006-04-06 Casio Comput Co Ltd Imaging apparatus, focusing processing method, and program
JP2006261795A (en) * 2005-03-15 2006-09-28 Winbond Electron Corp Autofocus system using multiple sampling
JP2006308884A (en) * 2005-04-28 2006-11-09 Olympus Corp Automatic focusing device
JP2007003655A (en) * 2005-06-22 2007-01-11 Fujifilm Holdings Corp Apparatus for determining focal position of imaging lens and method thereof
JP2007164051A (en) * 2005-12-16 2007-06-28 Pentax Corp Camera with automatic focusing device
JP2007219029A (en) * 2006-02-15 2007-08-30 Sharp Corp Automatic focusing device
JP2007271983A (en) * 2006-03-31 2007-10-18 Casio Hitachi Mobile Communications Co Ltd Imaging device and program
JP2008020710A (en) * 2006-07-13 2008-01-31 Fujifilm Corp Photographing device and focus adjusting method
JP2008160622A (en) * 2006-12-26 2008-07-10 Sanyo Electric Co Ltd Field angle compensation device, method and imaging apparatus
JP2009008983A (en) * 2007-06-29 2009-01-15 Nikon Corp Focusing device and imaging device
JP2009042621A (en) * 2007-08-10 2009-02-26 Ricoh Co Ltd Imaging apparatus and method
JP2009058932A (en) * 2007-05-24 2009-03-19 Gyrus Acmi Inc User-aided auto-focus
US7557855B2 (en) 2005-01-21 2009-07-07 Canon Kabushiki Kaisha Focus position detection apparatus and method
JP2009169124A (en) * 2008-01-17 2009-07-30 Sanyo Electric Co Ltd Electronic camera
US7626631B2 (en) 2005-01-07 2009-12-01 Canon Kabushiki Kaisha Focus control method and focus control apparatus
US7733412B2 (en) 2004-06-03 2010-06-08 Canon Kabushiki Kaisha Image pickup apparatus and image pickup method
JP2010191083A (en) * 2009-02-17 2010-09-02 Canon Inc Focus adjusting apparatus and focus adjusting method
KR20110080891A (en) * 2010-01-07 2011-07-13 삼성전자주식회사 Method and apparatus for high speed multi-af
JP2012103722A (en) * 2007-06-20 2012-05-31 Ricoh Co Ltd Imaging apparatus
JP2013130683A (en) * 2011-12-21 2013-07-04 Canon Inc Imaging device, control method of the same and program
JP2016021016A (en) * 2014-07-15 2016-02-04 キヤノン株式会社 Imaging apparatus and imaging method
KR101623832B1 (en) 2010-01-07 2016-05-24 삼성전자주식회사 Method and Apparatus for Multi-AF using contrast AF
CN113329183A (en) * 2021-07-01 2021-08-31 珠海丽珠试剂股份有限公司 Focusing method and device for shooting equipment and multiple liquid phase chip shooting equipment

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334072A (en) * 2003-05-12 2004-11-25 Fuji Photo Film Co Ltd Imaging apparatus
JP2005189634A (en) * 2003-12-26 2005-07-14 Nikon Corp Focus detector for camera
US7511759B2 (en) 2004-02-18 2009-03-31 Canon Kabushiki Kaisha Image pickup apparatus, control method thereof, control program thereof and storage medium, with movement of focus lens on basis of evaluation values extracted by long period scan upon failure of detection of peak position by short period scan
JP2005266784A (en) * 2004-02-18 2005-09-29 Canon Inc Imaging apparatus, its control method, its control program, and storage medium
EP1569441A2 (en) 2004-02-18 2005-08-31 Canon Kabushiki Kaisha Image pickup apparatus and control method thereof
EP1569441A3 (en) * 2004-02-18 2011-08-17 Canon Kabushiki Kaisha Image pickup apparatus and control method thereof
CN1322347C (en) * 2004-02-18 2007-06-20 佳能株式会社 Image pickup apparatus, control method thereof, control program thereof and storage medium
JP2005326681A (en) * 2004-05-14 2005-11-24 Pentax Corp Focus detector and focus detecting method
US7733412B2 (en) 2004-06-03 2010-06-08 Canon Kabushiki Kaisha Image pickup apparatus and image pickup method
US8300139B2 (en) 2004-06-03 2012-10-30 Canon Kabushiki Kaisha Image pickup apparatus and image pickup method
JP2006094202A (en) * 2004-09-24 2006-04-06 Casio Comput Co Ltd Imaging apparatus, focusing processing method, and program
US7626631B2 (en) 2005-01-07 2009-12-01 Canon Kabushiki Kaisha Focus control method and focus control apparatus
US7557855B2 (en) 2005-01-21 2009-07-07 Canon Kabushiki Kaisha Focus position detection apparatus and method
JP2006261795A (en) * 2005-03-15 2006-09-28 Winbond Electron Corp Autofocus system using multiple sampling
JP2006308884A (en) * 2005-04-28 2006-11-09 Olympus Corp Automatic focusing device
JP2007003655A (en) * 2005-06-22 2007-01-11 Fujifilm Holdings Corp Apparatus for determining focal position of imaging lens and method thereof
JP4578334B2 (en) * 2005-06-22 2010-11-10 富士フイルム株式会社 In-focus position determining apparatus and method for imaging lens
JP2007164051A (en) * 2005-12-16 2007-06-28 Pentax Corp Camera with automatic focusing device
JP2007219029A (en) * 2006-02-15 2007-08-30 Sharp Corp Automatic focusing device
JP2007271983A (en) * 2006-03-31 2007-10-18 Casio Hitachi Mobile Communications Co Ltd Imaging device and program
JP2008020710A (en) * 2006-07-13 2008-01-31 Fujifilm Corp Photographing device and focus adjusting method
JP2008160622A (en) * 2006-12-26 2008-07-10 Sanyo Electric Co Ltd Field angle compensation device, method and imaging apparatus
US8233075B2 (en) 2007-05-24 2012-07-31 Gyrus Acmi, Inc. User-aided auto-focus
JP2009058932A (en) * 2007-05-24 2009-03-19 Gyrus Acmi Inc User-aided auto-focus
JP2012103722A (en) * 2007-06-20 2012-05-31 Ricoh Co Ltd Imaging apparatus
JP2009008983A (en) * 2007-06-29 2009-01-15 Nikon Corp Focusing device and imaging device
JP2009042621A (en) * 2007-08-10 2009-02-26 Ricoh Co Ltd Imaging apparatus and method
JP2009169124A (en) * 2008-01-17 2009-07-30 Sanyo Electric Co Ltd Electronic camera
JP2010191083A (en) * 2009-02-17 2010-09-02 Canon Inc Focus adjusting apparatus and focus adjusting method
US8391699B2 (en) 2009-02-17 2013-03-05 Canon Kabushiki Kaisha Focus adjusting apparatus and focus adjusting method
KR20110080891A (en) * 2010-01-07 2011-07-13 삼성전자주식회사 Method and apparatus for high speed multi-af
KR101623832B1 (en) 2010-01-07 2016-05-24 삼성전자주식회사 Method and Apparatus for Multi-AF using contrast AF
KR101700359B1 (en) 2010-01-07 2017-02-13 삼성전자주식회사 Method and Apparatus for high speed Multi-AF
JP2013130683A (en) * 2011-12-21 2013-07-04 Canon Inc Imaging device, control method of the same and program
JP2016021016A (en) * 2014-07-15 2016-02-04 キヤノン株式会社 Imaging apparatus and imaging method
CN113329183A (en) * 2021-07-01 2021-08-31 珠海丽珠试剂股份有限公司 Focusing method and device for shooting equipment and multiple liquid phase chip shooting equipment

Similar Documents

Publication Publication Date Title
JP2002318341A (en) Device and method for automatic focusing
US7822336B2 (en) Image capture device with automatic focusing function
US7626631B2 (en) Focus control method and focus control apparatus
JP4957943B2 (en) Imaging apparatus and program thereof
US20070201851A1 (en) Imaging apparatus
JP4727534B2 (en) Imaging device
JP4649715B2 (en) Automatic focus adjustment device
JPWO2009013850A1 (en) Imaging device
JP5546691B2 (en) Imaging apparatus, imaging method, and program
JP4645413B2 (en) Imaging device
JP2002311325A (en) Automatic focusing device and method
JP3530908B2 (en) Digital camera and image display device
JP3952254B2 (en) Method and apparatus for generating focused sound
JP2008028655A (en) Lens unit and camera system
JP3673528B2 (en) Still image / video camera
JP5409483B2 (en) Imaging device
JP4320767B2 (en) Automatic focusing apparatus and method
JP4902577B2 (en) Auto focus system
JP2007225897A (en) Focusing position determination device and method
JP4106485B2 (en) camera
JP2005266784A (en) Imaging apparatus, its control method, its control program, and storage medium
JP2007279333A (en) Device and method for deciding focusing position
JP2004093776A (en) Camera
JP2006235059A (en) Photographing device
JP4239954B2 (en) Camera device and focusing area control program