JP2004309722A - Automatic focusing device and automatic focusing method - Google Patents

Automatic focusing device and automatic focusing method Download PDF

Info

Publication number
JP2004309722A
JP2004309722A JP2003102063A JP2003102063A JP2004309722A JP 2004309722 A JP2004309722 A JP 2004309722A JP 2003102063 A JP2003102063 A JP 2003102063A JP 2003102063 A JP2003102063 A JP 2003102063A JP 2004309722 A JP2004309722 A JP 2004309722A
Authority
JP
Japan
Prior art keywords
area
focus
evaluation value
value
focus lens
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003102063A
Other languages
Japanese (ja)
Inventor
Yasuhiro Hayashi
泰宏 林
Hideki Sano
英樹 佐野
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2003102063A priority Critical patent/JP2004309722A/en
Publication of JP2004309722A publication Critical patent/JP2004309722A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To accurately focus on a subject by preventing error focusing on a background even when the subject such as a person exists in the front of a background of high contrast such as grass and wire netting. <P>SOLUTION: An automatic focusing device is provided with an AF (automatic focus) evaluation value generation part 111 for generating AF evaluation values for two AF areas (A), (B) which are the center part of a photographing visual field and the whole photographing visual field and a CPU (central processing unit) 113 for calculating the focal position of a focus lens 102 from a difference between the AF evaluation values of the center part AF area (A) and the whole AF area (B) when the focal positions of the focus lens 102 which are calculated from respective evaluation values of the AF areas (A), (B) are almost mutually equal. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルスチルカメラやデジタルビデオカメラなどで使用されるオートフォーカス装置及びオートフォーカス方法に関する。
【0002】
【従来の技術】
近年、CCD等の撮像素子を有するデジタルカメラのオートフォーカス方法として、撮像素子より得られた画像信号をバンドパスフィルター(BPF)に通して高周波成分を抽出し、その高周波成分が最大となる位置にフォーカスレンズを移動させて合焦するコントラスト検出方式が広く実用化されている(特許文献1参照)。
【0003】
【特許文献1】
特開平11−215426号公報
【0004】
【発明が解決しようとする課題】
画像信号の高周波成分が最大となるようにフォーカスレンズの位置を制御する方法は、被写体にピントが合った状態で被写体のコントラストが最大になることが前提であるが、被写体よりも背景の方が高コントラストである場合、例えば、背景が芝生や金網などのような極端に高周波成分の多いものである場合、被写体ではなくて背景にピントが合ってしまう。図5はこのような場合の撮影視野を示し、図6は撮影視野の中央部のAFエリアAから高周波成分を抽出したAF評価値の分布を示している。つまり、AF評価値の最大値が背景側にあるため、背景にピントが合ってしまうのである。
【0005】
このバックフォーカスを回避する手段として、ピント位置を近距離から遠距離方向に合わせるようにフォーカスレンズを移動し、被写体のピント位置付近に生じるAF評価値のピークをある程度越えた段階で、フォーカスレンズの駆動を停止して逆方向に移動させて、最適なピント位置に合わせる方法がある。しかし、この方法では、被写体と背景が接近している場合、図6に示すように被写体のAF評価値のピークが背景側のAF評価値のピークに埋もれてしまうため、バックフォーカスを回避することが困難となる。
【0006】
本発明は、このような従来技術の問題点に鑑み、被写体と背景が接近している場合でも、バックフォーカスを回避し、被写体に正確にピントを合わせることのできるオートフォーカス装置及びオートフォーカス方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
以上の目的を達成するため、本発明のオートフォーカス装置は、撮影視野の中央部に設定した第1のAFエリアと、該AFエリアを含んでその周囲に拡がる第2のAFエリアとについて上記AF評価値を発生するAF評価値発生部と、これらAFエリアのAF評価値から割り出される上記フォーカスレンズの合焦位置が等しくない場合、第1のAFエリアのAF評価値から上記フォーカスレンズの合焦位置を割り出す一方、第1及び第2のAFエリアのAF評価値から割り出される上記フォーカスレンズの合焦位置がほぼ等しい場合には、第1及び第2のAFエリアにおけるAF評価値の差から上記フォーカスレンズの合焦位置を割り出すAF制御部とを設けてある。
【0008】
かかる構成によれば、AF評価値の分布曲線において、背景のピークに埋もれていた被写体のピークが抽出されるので、被写体と背景が接近し、被写体よりも背景の方が高のコントラストである場合でも、バックフォーカスを回避し、被写体に正確に合焦させることができる。
【0009】
上記AF制御部は、第1のAFエリアのAF評価値と、第2のAFエリアにおけるAF評価値の第1のAFエリアに対する換算値との差が最大となる位置を上記フォーカスレンズの合焦位置とするのが好ましい。
すなわち、第2のAFエリアのAF評価値を、第1のAFエリアに対する面積比で換算した値を用いると、被写体のピークの抽出が正確に行われる。
【0010】
上記AF制御部は、第1のAFエリアのAF評価値と、第2のAFエリアにおけるAF評価値の第1のAFエリアに対する換算値との差が所定値よりも小さい場合、第1のAFエリアのAF評価値から上記フォーカスレンズの合焦位置を割り出すのが好ましい。
すなわち、この場合は、第1及び第2のAFエリアにおけるAF評価値の分布曲線がほぼ重なっており、背景のピークに被写体のピークが埋もれていないと判断してよい。
【0011】
上記AF制御部は、第1のAFエリアにおけるAF評価値の最大値と最小値の差が所定値よりも小さい場合、第1のAFエリアを下方へ拡大させる指令を上記AF評価値発生部に発するのが好ましい。
すなわち、中央部AFエリアにおいて合焦に必要なコントラスト評価が得られなかった場合、AF範囲を拡大し、再度、AF制御を行うようにしてある。
上記AF制御部は、第1のAFエリアの拡大によっても、第1のAFエリアにおけるAF評価値の最大値と最小値の差が所定値に達しない場合、上記フォーカスレンズを固定焦点に移動させるのが好ましい。
すなわち、第1のAFエリアを下方に拡大させても、十分な高コントラスト評価が得られなかった場合には、フォーカスレンズが固定焦点に移動される。固定ピント位置は、撮影シーンに応じて最適な固定焦点位置を複数用意しておけばよい。
【0012】
上記AF制御部は、第1のAFエリアにおけるAF評価値の最大値が、第2のAFエリアにおけるAF評価値最大値の第1のAFエリアに対する換算値以上である場合、上記換算値との差が最大となる位置ではなく、第1のAFエリアのAF評価値が最大となる位置を上記フォーカスレンズの合焦位置とするのが好ましい。
すなわち、この場合は、第1のAFエリアの方が第2の全体AFエリアよりも高コントラストであると判断できるので、第1のAFエリアのAF評価値が最大となる位置をフォーカスレンズの合焦位置とするのである。
【0013】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照して説明する。
図1は、本発明のオートフォーカス装置を有するデジタルスチルカメラの構成例を示すブロック図である。
【0014】
同図において、101はズームレンズ、102はフォーカスレンズ、103は絞り・フィルターなどを含むレンズ機構部、104は撮像素子(CCD)、105はCCD制御部、106はA/D変換部、107は絞り制御部、108はフォーカスレンズ制御部、109はズームレンズ制御部、110はCCD信号処理部、111はAF評価値を抽出する高周波成分抽出部、112はCCD信号処理部からの撮影画像を表示する表示部、113はCPU、114はシステムの制御プログラムの格納用記憶媒体、115は撮影した画像を記録する媒体である。キー入力部116は、例えばシャッターボタンによる外部からの指示を入力する機構である。117はCPU113を介して高周波成分抽出部111から出力されるAF評価値を記録する媒体であり、AF評価値のサンプリングを行ったレンズ位置も同時に記録する。
【0015】
フォーカスレンズ制御部108は、フォーカスレンズ102を光軸方向に沿って移動させる。ズームレンズ制御部109は、ズームレンズ101を光軸方向に沿って移動させる。絞り制御部107は、レンズ機構部103の絞り機構を光量に応じて開閉する。各制御部107、108、109は、プログラム格納用記憶媒体114よりCPU113にロードされたプログラムソフトによって制御される。
【0016】
CCD信号処理部110は、CCD104で撮像された画像信号をA/D変換部106でデジタル変換して受け取り、この画像信号を表示部112に表示可能な形態と、画像記録媒体115に記録可能な形態に変換して、CPU113に出力する。表示部112に表示される画像は、CCD制御部105の制御信号によって時系列的に変化するものとなる。CCD制御部105は、CCD104からの画像信号を電気的に制御する電子シャッター機能を有する。
【0017】
AF評価値発生部111は、CCD信号処理部110より入力されたデジタル画像信号から微分フィルター等で高周波要素(エッジ要素)データを抽出し、かかるデータをAF評価値としてCPU113に出力する。このAF評価値発生部111は、CPU113からの信号によって、図7に示す撮影視野の中央部に設定したAFエリア(第1のAFエリア)Aと、撮影視野の全体に亘るAFエリア(第2のAFエリア)BについてAF評価値を切り換えて出力するとともに、中央部のAFエリアAにおいて合焦に必要なコントラストが得られない場合には、図8に示すように中央部のAFエリアAを下方に拡大させる。
【0018】
CPU113は、プログラム格納用記憶媒体114よりロードされたプログラムソフトによって、このデジタルスチルカメラの信号処理とシステム全体の制御を行う。また、CPU113は、高周波成分抽出部111からのAF評価値に基づいて、フォーカスレンズ制御部108に指示して、フォーカスレンズ102を最適なピント位置に移動させる。つまり、CPU113が特許請求の範囲におけるAF制御部に相当する。また、CPU113はフォーカスレンズ102の移動中のサンプリング位置と、その位置のAF評価値をサンプリング記憶媒体117に記憶させる。
【0019】
サンプリング記憶媒体117はCPU113から転送されたサンプリングレンズ位置とAF評価値を全て記憶し、CPU113からの要求に応じて、そのうちの任意の値をCPU113に転送する。また、CPU113は、CCD信号処理部110より画像信号の輝度データを受け取り、それをAE評価値として判定し、絞り制御部107に指示して、レンズ機構部103の絞り機構を調整し、同時にCCD制御部105に指示して、シャッタースピードを可変し、最適な光量を調整する。
【0020】
次に、このデジタルスチルカメラの合焦動作について、図2と図3のフローチャートを用いて説明する。
まず、画像信号全体を最適な輝度状態にAE制御し、その輝度値lv_allを確定する(ステップ1)。次に、AFロックを解除し(ステップ2)、輝度値lv_allがAE制御限界輝度値lv_th_minより小であるか否かを判定する(ステップ3)。輝度値lv_allがlv_th_minより小である場合は、予め決められた固定焦点位置にフォーカスレンズを移動(ステップ25)するが、輝度値lv_allがlv_th_min以上である場合は、フォーカスレンズ102のAFサンプリング移動の開始位置と終了位置を計算する(ステップ4)。
【0021】
次に、図7に示すように撮影視野の全体に対してAFエリア(B)を設定し(ステップ5)、撮影視野の中央部に対してはAFエリア(A)を設定する(ステップ6)。AF評価値は、かかるAFエリア(A,B)内の高周波成分に限定される。次に、2つのAFエリア(A,B)の面積比(A/B,以下「ε」と定義)を計算保存し(ステップ7)、ステップ4で計算したAFサンプリング開始位置にフォーカスレンズ102を移動させる(ステップ8)。
【0022】
フォーカスレンズ102がAFサンプリング開始位置に移動すると、2つのAFエリア(A,B)についてAF評価値のサンプリングを開始する(ステップ10)。AFサンプリング開始位置のサンプリングが終了すると、フォーカスレンズを次のサンプリング位置に移動する(ステップ13)。以降、ステップ9でAFサンプリング終了位置にフォーカスレンズ102が到達したと判定されるまで、ステップ10からステップ13までの処理を繰り返す。かかる一連の繰返し処理の間、2つのAFエリア(A,B)におけるAF評価値の最大値A_af_max,B_af_maxと最小値A_af_min,B_af_minを更新保存し(ステップ11)、A_af_max,B_af_maxとなるフォーカスレンズ102の位置A_lens_max,B_lens_maxも更新保存する(ステップ11)。更に、各サンプリング位置のAF評価値A_af[pos],B_af[pos]も全て保存する(ステップ12)。
【0023】
ステップ9において、AFサンプリング終了位置にフォーカスレンズ102が到達したと判定された場合、2つのAFエリア(A,B)におけるAF評価値の最大・最小値の差分A_af_diff=A_af_max−A_af_minの演算を実行し、その結果を保存する(ステップ14)。続いて、A_af_diffがAF評価差分閾値af_diff_th_minより小であるか否かを判定する(ステップ15)。つまり、中央部AFエリア(A)において、合焦に必要なコントラストが得られているか否かを判定する。次に、ステップ15の条件が満たされる場合、AFサンプリングが1回目であるか否かを判定する(ステップ23)。
【0024】
AFサンプリングが1回目である場合は、中央部のAFエリア(A)を図8に示すような拡大AF枠に設定し(ステップ24)、ステップ8に戻る。つまり、フォーカスレンズ102をAFサンプリング開始位置にまで戻して、再度、一連のAFサンプリング処理を行う。ステップ24におけるAFエリア(A)の拡大では、通常のAFエリアに対して下方向に拡大する。中央部のAFエリア(A)を拡大させても、ステップ15の条件が満たされない場合には、フォーカスレンズ102を固定焦点位置に移動させる(ステップ25)。固定焦点位置は、その時選択した撮影シーンに適したものが選ばれる。
【0025】
一方、A_af_diffがaf_diff_th_min以上である場合には、2つのAFエリア(A,B)においてAF評価値が最大値A_af_max,B_af_maxとなるフォーカスレンズ102の位置A_lens_max,B_lens_maxがほぼ同じであるか否かを判定する(ステップ16)。この際、A_lens_maxを基準として、判定範囲にある程度余裕を見るのが望ましい。また、かかる余裕は処理系によっても調整可能であることも望ましい。ステップ16の条件が満たされない場合は、被写体と背景のピント位置が異なるため、より被写体にAFエリアを絞った中央部のAFエリア(A)において、AF評価値が最大値A_af_maxになる位置A_lens_maxにフォーカスレンズ102を移動させる(ステップ26)。
【0026】
一方、ステップ16の条件が満たされる場合には、ステップ7で計算した2つのAFエリア(A,B)の面積比εを全体AFエリアBにおけるAF評価値の最大値B_af_maxに乗じた値が中央部AFエリアBにおけるAF評価値の最大値A_af_maxより大であるか否かを判定する(ステップ17)。ここで、AFエリア(A,B)の面積比εを全体AFエリアBにおけるAF評価値の最大値B_af_maxに乗じた値とは、「全体AFエリアBにおけるAF評価値の最大値B_af_maxの中央部AFエリアに対する換算値」のことである。ステップ17の条件が満たされない場合、中央部AFエリアのAF評価値が最大値A_af_maxになる位置A_lens_maxにフォーカスレンズ102を移動させる(ステップ26)。この場合は、中央部AFエリア(A)の方が全体AFエリア(A)よりも高コントラストであると判断できるから、中央部AFエリア(A)のAF評価値からフォーカスレンズ102の合焦位置を割り出せばよいのである。
【0027】
一方、ステップ17の条件が満たされる場合には、ステップ12で保存したフォーカスレンズ102の各サンプリング位置のAF評価値(A_af[pos],B_af[pos])について、A_af[pos]から、B_af[pos]にεを乗じた値を引いた値dif[pos]を算出する(ステップ19)。ここで、B_af[pos]にεを乗じた値とは、「全体AFエリアBのAF評価値B_af[pos]の中央部AFエリアAに対する換算値」のことである。次に、ステップ19で算出したdif[pos]について、その最大小値dif_max,dif_minと、最大値となった時のレンズ位置pos_maxを更新保存する(ステップ20)。以降、ステップ18において、全サンプリングデータについて計算が終了したと判定されるまで、ステップ19とステップ20の処理を繰り返す。
【0028】
サンプリングデータの全てについて計算が終了すると、dif_maxとdif_minの差分subを計算する(ステップ21)。次に、このsub値があらかじめ設定した値sub_th_minより小であるか否かを判定する(ステップ22)。この条件が満たされる場合、ステップ20で保存したレンズ位置pos_maxにフォーカスレンズ102を移動させる。一方、ステップ22の条件が満たされない場合には、ステップ26に進み、フォーカスレンズ102をA_lens_maxに移動させる。
【0029】
第1のAFエリアにおけるAF評価値の最大値が、第2のAFエリアにおけるAF評価値最大値の第1のAFエリアに対する換算値以上である場合、上記換算値との差が最大となる位置ではなく、第1のAFエリアのAF評価値が最大となる位置を上記フォーカスレンズの合焦位置とする。
ステップ25,26,27でフォーカスレンズ102を合焦位置に移動させた後、AFロックを行い(ステップ28)、AEロックを解除(ステップ29)する。そして、CCD104に取り込まれた画像信号は、A/D変換部104とCCD信号処理部110を経由してCPU113に送られ、CPU113は画像信号を画像記録媒体115に記録し、処理を終了する(ステップ30)。
【0030】
ステップ27において、ステップ20で求めたレンズ位置pos_maxを合焦位置としたのは、次のような理由による。
被写体よりも背景の方が高コントラストであって、被写体と背景が接近している場合、撮影視野中央部のAFエリアAにおけるAF評価値A_af[pos]は図4(a)に点線で示すような分布曲線を描き、被写体のピークが背景のピークに埋もれてしまう。同図の実線で示す曲線は、撮影視野全体のAFエリアBにおけるAF評価値B_af[pos]の分布曲線を示しており、そのピークは中央部AFエリアAのAF評価値A_af[pos]の分布曲線のピークよりも大きい。
【0031】
全体AFエリアBのAF評価値B_af[pos]にAFエリアの面積比εを乗じると、その分布曲線は図4(b)に示すように被写体のある部分を除いてAFエリアAのAF評価値A_af[pos]の分布曲線とほぼ重なることになる。よって、中央部AFエリアAのAF評価値A_af[pos]から、全体AFエリアBのAF評価値B_af[pos]にAFエリアの面積比εを乗じた値を引いた値dif[pos]は、同図(c)に示すように被写体の合焦位置にピークを有する分布曲線を描く。つまり、この引算値dif[pos]が最大値dif_maxとなるレンズ位置pos_maxを被写体の合焦位置とすればよいのである。
【0032】
ステップ22の条件が満たされる場合にステップ26に進んでいるのは、図4(b)の2つの曲線が殆ど重なっており、中央部AFエリアAのAF評価値A_af[pos]の分布曲線のピークの近くに埋もれたピークが存在せず、被写体と背景の合焦位置がほぼ同一であるという判断できるからである。なお、この条件の閾値sub_th_minの値については、信号処理系のノイズ成分の度合いなどによって調整することが望ましい。
【0033】
このオートフォーカス装置では、中央部AFエリアAのAF評価値A_af[pos]から、全体AFエリアBのAF評価値B_af[pos]にAFエリアの面積比εを乗じた値を引き、この引算値dif[pos]が最大値dif_maxとなるレンズ位置pos_maxを被写体の合焦位置としているので、中央部AFエリアAのAF評価値A_af[pos]の分布曲線において、背景によるピークの近くに埋もれていた被写体のピークが正確に抽出され、背景に誤合焦する場合が少なくなり、被写体に対する合焦精度が良くなる。
【0034】
また、ステップ17の条件が満たされない場合は、中央部AFエリア(A)の方が全体AFエリア(A)よりも高コントラストであると判断して、中央部AFエリアのAF評価値が最大値A_af_maxになる位置A_lens_maxにフォーカスレンズ102を移動させるので、ステップ18以降の処理が省略でき、処理時間の短縮が可能になる。
【0035】
以上、本発明の実施の形態について説明を行ったが、本発明はこの実施形態に限定されるものではなく、その要旨を逸脱しない範囲で、様々な変形実施を行うことが可能である。
例えば、撮影視野の全体に亘るAFエリアBは、その大きさを撮影シーンに応じて適宜設定すればよい。
【0036】
【発明の効果】
本発明によれば、AF評価値の分布曲線において、背景のピークに埋もれていた被写体のピークが抽出されるので、被写体と背景が接近し、被写体に比べて背景の方がより高コントラストである場合でも、背景に誤合焦する場合が少なくなる。
【図面の簡単な説明】
【図1】本発明のオートフォーカス装置を備えたデジタルスチルカメラのブロック図。
【図2】同デジタルスチルカメラのAF動作を示すフローチャートの一部。
【図3】図2のフローチャートの残りの部分。
【図4】同デジタルスチルカメラのAF動作を説明する図。
【図5】同デジタルスチルカメラの撮影視野を示す図。
【図6】AF評価値の合焦位置に対する分布状態を示す図。
【図7】通常のAFエリアを示す図。
【図8】拡大したAFエリアを示す図。
【符号の説明】
102 フォーカスレンズ
104 撮像素子(CCD)
105 CCD制御部
106 A/D変換部
108 フォーカスレンズ制御部
110 CCD信号処理部
111 AF評価値発生部
112 表示部
113 CPU
114 プログラム格納用媒体
115 画像記録媒体
116 キー入力部
117 サンプリングデータ格納用記憶媒体
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an autofocus device and an autofocus method used in a digital still camera, a digital video camera, and the like.
[0002]
[Prior art]
In recent years, as an autofocus method for a digital camera having an image sensor such as a CCD, a high-frequency component is extracted by passing an image signal obtained from the image sensor through a band-pass filter (BPF), and the high-frequency component is located at a position where the high-frequency component becomes maximum. 2. Description of the Related Art A contrast detection method in which a focus lens is moved to perform focusing is widely used (see Patent Document 1).
[0003]
[Patent Document 1]
JP-A-11-215426
[Problems to be solved by the invention]
The method of controlling the position of the focus lens so that the high-frequency component of the image signal is maximized is based on the assumption that the contrast of the subject is maximized when the subject is in focus, but the background is more than the subject. When the contrast is high, for example, when the background is an extremely high frequency component such as a lawn or a wire mesh, the background is focused on instead of the subject. FIG. 5 shows the field of view in such a case, and FIG. 6 shows the distribution of AF evaluation values obtained by extracting high-frequency components from the AF area A at the center of the field of view. That is, since the maximum value of the AF evaluation value is on the background side, the background is focused.
[0005]
As a means for avoiding this back focus, the focus lens is moved so that the focus position is adjusted from a short distance to a long distance direction. There is a method of stopping the drive and moving in the opposite direction to adjust the focus position to the optimum one. However, in this method, when the subject is close to the background, the peak of the AF evaluation value of the subject is buried in the peak of the AF evaluation value on the background side as shown in FIG. Becomes difficult.
[0006]
The present invention has been made in view of the above-described problems of the related art, and provides an autofocus apparatus and an autofocus method capable of avoiding back focus and accurately focusing on a subject even when the subject is close to the background. The purpose is to provide.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the autofocus apparatus according to the present invention employs the above-described AF method for a first AF area set at the center of the field of view and a second AF area including the AF area and extending around the first AF area. If the AF evaluation value generation unit that generates the evaluation value is not equal to the focus position of the focus lens that is determined from the AF evaluation values of these AF areas, the focus evaluation is performed based on the AF evaluation value of the first AF area. While the in-focus position is determined, if the in-focus positions of the focus lenses determined from the AF evaluation values of the first and second AF areas are substantially equal, the difference between the AF evaluation values in the first and second AF areas is determined. And an AF control unit for determining the in-focus position of the focus lens.
[0008]
According to this configuration, in the distribution curve of the AF evaluation value, the peak of the subject buried in the peak of the background is extracted, so that the subject and the background are close to each other, and the background has a higher contrast than the subject. However, the back focus can be avoided and the subject can be accurately focused.
[0009]
The AF control section focuses the focus lens on a position where the difference between the AF evaluation value of the first AF area and the converted value of the AF evaluation value in the second AF area with respect to the first AF area is maximum. It is preferable to set the position.
That is, if the value obtained by converting the AF evaluation value of the second AF area by the area ratio with respect to the first AF area is used, the peak of the subject is accurately extracted.
[0010]
When the difference between the AF evaluation value of the first AF area and the converted value of the AF evaluation value in the second AF area with respect to the first AF area is smaller than the first AF area, It is preferable to determine the in-focus position of the focus lens from the AF evaluation value of the area.
That is, in this case, it may be determined that the distribution curves of the AF evaluation values in the first and second AF areas substantially overlap, and that the peak of the subject is not buried in the peak of the background.
[0011]
When the difference between the maximum value and the minimum value of the AF evaluation values in the first AF area is smaller than a predetermined value, the AF control unit issues a command to the AF evaluation value generation unit to enlarge the first AF area downward. It is preferably emitted.
That is, when the contrast evaluation required for focusing cannot be obtained in the central AF area, the AF range is enlarged and AF control is performed again.
The AF control unit moves the focus lens to a fixed focus when the difference between the maximum value and the minimum value of the AF evaluation value in the first AF area does not reach a predetermined value even when the first AF area is enlarged. Is preferred.
That is, even if the first AF area is enlarged downward, if a sufficiently high contrast evaluation cannot be obtained, the focus lens is moved to the fixed focus. As the fixed focus position, a plurality of optimal fixed focus positions may be prepared according to the shooting scene.
[0012]
When the maximum value of the AF evaluation value in the first AF area is equal to or greater than the conversion value of the maximum AF evaluation value in the second AF area with respect to the first AF area, the AF control unit determines that It is preferable that the position where the AF evaluation value of the first AF area becomes the maximum, instead of the position where the difference becomes the maximum, be the focus position of the focus lens.
That is, in this case, it can be determined that the first AF area has a higher contrast than the second overall AF area. Therefore, the position where the AF evaluation value of the first AF area becomes maximum is determined by the focusing lens position. The focus position is set.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration example of a digital still camera having an autofocus device according to the present invention.
[0014]
In the figure, 101 is a zoom lens, 102 is a focus lens, 103 is a lens mechanism including an aperture and a filter, 104 is an image sensor (CCD), 105 is a CCD controller, 106 is an A / D converter, 107 is Aperture control unit, 108 is a focus lens control unit, 109 is a zoom lens control unit, 110 is a CCD signal processing unit, 111 is a high-frequency component extraction unit that extracts an AF evaluation value, and 112 displays a captured image from the CCD signal processing unit. A display unit 113, a CPU 113, a storage medium 114 for storing a system control program, and a medium 115 for recording a captured image. The key input unit 116 is a mechanism for inputting an external instruction by, for example, a shutter button. Reference numeral 117 denotes a medium for recording the AF evaluation value output from the high-frequency component extraction unit 111 via the CPU 113, and simultaneously records the lens position where the AF evaluation value has been sampled.
[0015]
The focus lens control unit 108 moves the focus lens 102 along the optical axis direction. The zoom lens control unit 109 moves the zoom lens 101 along the optical axis direction. The aperture control unit 107 opens and closes the aperture mechanism of the lens mechanism unit 103 according to the amount of light. Each of the control units 107, 108, and 109 is controlled by program software loaded into the CPU 113 from the program storage medium 114.
[0016]
The CCD signal processing unit 110 converts the image signal captured by the CCD 104 into a digital signal by the A / D converter 106 and receives the image signal. The image signal can be displayed on the display unit 112 and can be recorded on the image recording medium 115. The data is converted into a form and output to the CPU 113. The image displayed on the display unit 112 changes in a time series according to the control signal of the CCD control unit 105. The CCD control unit 105 has an electronic shutter function for electrically controlling an image signal from the CCD 104.
[0017]
The AF evaluation value generation unit 111 extracts high frequency element (edge element) data from the digital image signal input from the CCD signal processing unit 110 using a differential filter or the like, and outputs the data to the CPU 113 as an AF evaluation value. The AF evaluation value generating section 111 receives an AF area (first AF area) A set at the center of the photographing visual field shown in FIG. 7 and an AF area (second AF area) The AF evaluation value is switched and output for the (AF area B), and when the contrast required for focusing cannot be obtained in the central AF area A, the central AF area A is changed to the AF area A as shown in FIG. Expand downward.
[0018]
The CPU 113 performs signal processing of the digital still camera and controls the entire system by using program software loaded from the storage medium 114 for storing programs. Further, the CPU 113 instructs the focus lens control unit 108 based on the AF evaluation value from the high frequency component extraction unit 111 to move the focus lens 102 to an optimal focus position. That is, the CPU 113 corresponds to an AF control unit in the claims. Further, the CPU 113 causes the sampling storage medium 117 to store the sampling position during the movement of the focus lens 102 and the AF evaluation value at that position.
[0019]
The sampling storage medium 117 stores all of the sampling lens position and the AF evaluation value transferred from the CPU 113, and transfers an arbitrary value to the CPU 113 in response to a request from the CPU 113. Further, the CPU 113 receives the luminance data of the image signal from the CCD signal processing unit 110, determines it as an AE evaluation value, instructs the aperture control unit 107 to adjust the aperture mechanism of the lens mechanism unit 103, and simultaneously The control unit 105 is instructed to change the shutter speed and adjust the optimal light amount.
[0020]
Next, the focusing operation of the digital still camera will be described with reference to the flowcharts of FIGS.
First, the entire image signal is subjected to AE control to an optimal luminance state, and its luminance value lv_all is determined (step 1). Next, the AF lock is released (Step 2), and it is determined whether or not the luminance value lv_all is smaller than the AE control limit luminance value lv_th_min (Step 3). When the luminance value lv_all is smaller than lv_th_min, the focus lens is moved to a predetermined fixed focal position (step 25). When the luminance value lv_all is equal to or larger than lv_th_min, the AF lens sampling movement of the focus lens 102 is performed. A start position and an end position are calculated (step 4).
[0021]
Next, as shown in FIG. 7, an AF area (B) is set for the entire field of view (step 5), and an AF area (A) is set for the center of the field of view (step 6). . The AF evaluation value is limited to the high frequency components in the AF area (A, B). Next, the area ratio (A / B, hereinafter defined as “ε”) of the two AF areas (A, B) is calculated and stored (Step 7), and the focus lens 102 is moved to the AF sampling start position calculated in Step 4. It is moved (step 8).
[0022]
When the focus lens 102 moves to the AF sampling start position, sampling of the AF evaluation values for the two AF areas (A, B) is started (step 10). When the sampling at the AF sampling start position is completed, the focus lens is moved to the next sampling position (step 13). Thereafter, the processing from step 10 to step 13 is repeated until it is determined in step 9 that the focus lens 102 has reached the AF sampling end position. During this series of repetitive processing, the maximum value A_af_max, B_af_max and the minimum values A_af_min, B_af_min of the AF evaluation values in the two AF areas (A, B) are updated and saved (step 11), and the focus lens 102 becomes A_af_max, B_af_max. The positions A_lens_max and B_lens_max are also updated and stored (step 11). Further, the AF evaluation values A_af [pos] and B_af [pos] of each sampling position are all stored (step 12).
[0023]
If it is determined in step 9 that the focus lens 102 has reached the AF sampling end position, the calculation of the difference A_af_diff = A_af_max-A_af_min between the maximum and minimum values of the AF evaluation values in the two AF areas (A, B) is executed. Then, the result is stored (step 14). Subsequently, it is determined whether or not A_af_diff is smaller than the AF evaluation difference threshold af_diff_th_min (step 15). That is, it is determined whether or not the contrast necessary for focusing is obtained in the central AF area (A). Next, when the condition of step 15 is satisfied, it is determined whether or not AF sampling is the first time (step 23).
[0024]
If the AF sampling is the first time, the central AF area (A) is set to an enlarged AF frame as shown in FIG. 8 (step 24), and the process returns to step 8. That is, the focus lens 102 is returned to the AF sampling start position, and a series of AF sampling processing is performed again. In the enlargement of the AF area (A) in step 24, the enlargement is performed downward with respect to the normal AF area. If the condition of step 15 is not satisfied even if the central AF area (A) is enlarged, the focus lens 102 is moved to the fixed focal position (step 25). As the fixed focal position, a position suitable for the shooting scene selected at that time is selected.
[0025]
On the other hand, when A_af_diff is equal to or more than af_diff_th_min, it is determined whether or not the positions A_lens_max and B_lens_max of the focus lens 102 at which the AF evaluation values are the maximum values A_af_max and B_af_max in the two AF areas (A and B). A determination is made (step 16). At this time, it is desirable to have some allowance in the determination range based on A_lens_max. It is also desirable that such a margin can be adjusted by the processing system. If the condition of step 16 is not satisfied, the focus position of the subject and the background are different, so that in the central AF area (A) where the AF area is narrowed down to the subject, the position A_lens_max at which the AF evaluation value reaches the maximum value A_af_max is obtained. The focus lens 102 is moved (step 26).
[0026]
On the other hand, if the condition of step 16 is satisfied, the value obtained by multiplying the area ratio ε of the two AF areas (A, B) calculated in step 7 by the maximum value B_af_max of the AF evaluation values in the entire AF area B is the center value. It is determined whether or not the AF evaluation value in the partial AF area B is larger than the maximum value A_af_max (step 17). Here, the value obtained by multiplying the area ratio ε of the AF areas (A, B) by the maximum value B_af_max of the AF evaluation values in the entire AF area B is “the central part of the maximum value B_af_max of the AF evaluation values in the entire AF area B”. Conversion value for AF area ". If the condition of step 17 is not satisfied, the focus lens 102 is moved to a position A_lens_max where the AF evaluation value of the central AF area reaches the maximum value A_af_max (step 26). In this case, since it can be determined that the central AF area (A) has higher contrast than the overall AF area (A), the in-focus position of the focus lens 102 is determined from the AF evaluation value of the central AF area (A). You just have to figure out.
[0027]
On the other hand, if the condition of step 17 is satisfied, the AF evaluation values (A_af [pos], B_af [pos]) at each sampling position of the focus lens 102 stored in step 12 are calculated from A_af [pos] to B_af [ A value dif [pos] is calculated by subtracting a value obtained by multiplying pos] by ε (step 19). Here, the value obtained by multiplying B_af [pos] by ε is “a converted value of the AF evaluation value B_af [pos] of the entire AF area B with respect to the central AF area A”. Next, for dif [pos] calculated in step 19, the maximum and minimum values dif_max and dif_min and the lens position pos_max when the maximum value is reached are updated and stored (step 20). Thereafter, the processing of steps 19 and 20 is repeated until it is determined in step 18 that the calculation has been completed for all sampling data.
[0028]
When the calculation is completed for all the sampling data, the difference sub between dif_max and dif_min is calculated (step 21). Next, it is determined whether or not this sub value is smaller than a preset value sub_th_min (step 22). If this condition is satisfied, the focus lens 102 is moved to the lens position pos_max stored in step 20. On the other hand, if the condition of step 22 is not satisfied, the process proceeds to step 26, where the focus lens 102 is moved to A_lens_max.
[0029]
When the maximum value of the AF evaluation value in the first AF area is equal to or greater than the conversion value of the maximum AF evaluation value in the second AF area with respect to the first AF area, the position where the difference from the conversion value becomes the maximum. Instead, the position where the AF evaluation value of the first AF area becomes the maximum is set as the focus position of the focus lens.
After the focus lens 102 is moved to the in-focus position in steps 25, 26 and 27, AF lock is performed (step 28), and AE lock is released (step 29). Then, the image signal captured by the CCD 104 is sent to the CPU 113 via the A / D conversion unit 104 and the CCD signal processing unit 110, and the CPU 113 records the image signal on the image recording medium 115, and ends the processing ( Step 30).
[0030]
In step 27, the lens position pos_max obtained in step 20 is set as the focus position for the following reason.
When the background has a higher contrast than the subject and the subject and the background are close to each other, the AF evaluation value A_af [pos] in the AF area A at the center of the shooting visual field is indicated by a dotted line in FIG. Draws a sharp distribution curve, and the peak of the subject is buried in the peak of the background. The curve shown by the solid line in FIG. 6 shows the distribution curve of the AF evaluation value B_af [pos] in the AF area B of the entire field of view, and its peak is the distribution of the AF evaluation value A_af [pos] in the central AF area A. Larger than the peak of the curve.
[0031]
When the AF evaluation value B_af [pos] of the entire AF area B is multiplied by the area ratio ε of the AF area, the distribution curve becomes as shown in FIG. It will almost overlap with the distribution curve of A_af [pos]. Therefore, a value dif [pos] obtained by subtracting a value obtained by multiplying the AF evaluation value B_af [pos] of the entire AF area B by the area ratio ε of the AF area from the AF evaluation value A_af [pos] of the central AF area A is A distribution curve having a peak at the in-focus position of the subject is drawn as shown in FIG. That is, the lens position pos_max at which the subtraction value dif [pos] becomes the maximum value dif_max may be set as the focus position of the subject.
[0032]
When the condition of step 22 is satisfied, the process proceeds to step 26 because the two curves in FIG. 4B almost overlap and the distribution curve of the AF evaluation value A_af [pos] of the central AF area A This is because there is no buried peak near the peak, and it can be determined that the in-focus positions of the subject and the background are substantially the same. Note that the value of the threshold value sub_th_min under this condition is desirably adjusted according to the degree of the noise component of the signal processing system.
[0033]
In this autofocus device, the value obtained by multiplying the AF evaluation value B_af [pos] of the entire AF area B by the area ratio ε of the AF area is subtracted from the AF evaluation value A_af [pos] of the central AF area A, and this subtraction is performed. Since the lens position pos_max at which the value dif [pos] becomes the maximum value dif_max is set as the focus position of the subject, the distribution curve of the AF evaluation value A_af [pos] of the central AF area A is buried near the peak due to the background. The peak of the subject is accurately extracted, the number of cases in which the background is erroneously focused is reduced, and the focusing accuracy for the subject is improved.
[0034]
If the condition of step 17 is not satisfied, it is determined that the central AF area (A) has a higher contrast than the entire AF area (A), and the AF evaluation value of the central AF area is the maximum value. Since the focus lens 102 is moved to the position A_lens_max at which A_af_max is reached, the processing after step 18 can be omitted, and the processing time can be reduced.
[0035]
The embodiment of the present invention has been described above, but the present invention is not limited to this embodiment, and various modifications can be made without departing from the gist of the present invention.
For example, the size of the AF area B over the entire field of view may be appropriately set according to the shooting scene.
[0036]
【The invention's effect】
According to the present invention, in the distribution curve of the AF evaluation value, since the peak of the subject buried in the peak of the background is extracted, the subject and the background are close to each other, and the background has higher contrast than the subject. Even in this case, the number of cases in which the background is misfocused is reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram of a digital still camera provided with an autofocus device according to the present invention.
FIG. 2 is a part of a flowchart showing an AF operation of the digital still camera.
FIG. 3 is the remaining part of the flowchart of FIG. 2;
FIG. 4 is a view for explaining the AF operation of the digital still camera.
FIG. 5 is a view showing a field of view of the digital still camera.
FIG. 6 is a diagram showing a distribution state of an AF evaluation value with respect to a focus position.
FIG. 7 is a diagram showing a normal AF area.
FIG. 8 is a diagram showing an enlarged AF area.
[Explanation of symbols]
102 Focus lens 104 Image sensor (CCD)
105 CCD control unit 106 A / D conversion unit 108 Focus lens control unit 110 CCD signal processing unit 111 AF evaluation value generation unit 112 Display unit 113 CPU
114 Program storage medium 115 Image recording medium 116 Key input unit 117 Sampling data storage storage medium

Claims (7)

フォーカスレンズによって撮像素子上に結像された被写体像を画像信号に変換し、該画像信号から高周波成分を抽出してAF評価値を生成し、該AF評価値が最大となる位置に上記フォーカスレンズを移動させて合焦するオートフォーカス装置において、
撮影視野の中央部に設定した第1のAFエリアと、該AFエリアを含んでその周囲に拡がる第2のAFエリアとについて上記AF評価値を発生するAF評価値発生部と、
これらAFエリアのAF評価値から割り出される上記フォーカスレンズの合焦位置が等しくない場合、第1のAFエリアのAF評価値から上記フォーカスレンズの合焦位置を割り出す一方、第1及び第2のAFエリアのAF評価値から割り出される上記フォーカスレンズの合焦位置がほぼ等しい場合には、第1及び第2のAFエリアにおけるAF評価値の差から上記フォーカスレンズの合焦位置を割り出すAF制御部と、
を設けたことを特徴とするオートフォーカス装置。
The subject image formed on the image sensor by the focus lens is converted into an image signal, a high-frequency component is extracted from the image signal to generate an AF evaluation value, and the focus lens is located at a position where the AF evaluation value is maximum. In an autofocus device that focuses by moving
An AF evaluation value generation unit that generates the AF evaluation value for a first AF area set at the center of the field of view and a second AF area that includes and extends around the first AF area;
If the focus positions of the focus lens calculated from the AF evaluation values of these AF areas are not equal, the focus positions of the focus lens are calculated from the AF evaluation values of the first AF area, while the first and second focus positions are calculated. When the focus position of the focus lens calculated from the AF evaluation value in the AF area is substantially equal, AF control for calculating the focus position of the focus lens from the difference between the AF evaluation values in the first and second AF areas. Department and
An autofocus device, comprising:
上記AF制御部は、第1のAFエリアのAF評価値と、第2のAFエリアにおけるAF評価値の第1のAFエリアに対する換算値との差が最大となる位置を上記フォーカスレンズの合焦位置とすることを特徴とする請求項1に記載のオートフォーカス装置。The AF control section focuses the focus lens on a position where the difference between the AF evaluation value of the first AF area and the converted value of the AF evaluation value in the second AF area with respect to the first AF area is maximum. The autofocus device according to claim 1, wherein the position is a position. 上記AF制御部は、第1のAFエリアのAF評価値と、第2のAFエリアにおけるAF評価値の第1のAFエリアに対する換算値との差が所定値よりも小さい場合、第1のAFエリアのAF評価値から上記フォーカスレンズの合焦位置を割り出すことを特徴とする請求項2に記載のオートフォーカス装置。When the difference between the AF evaluation value of the first AF area and the converted value of the AF evaluation value in the second AF area with respect to the first AF area is smaller than the first AF area, 3. The auto-focusing device according to claim 2, wherein a focus position of the focus lens is calculated from an AF evaluation value of the area. 上記AF制御部は、第1のAFエリアにおけるAF評価値の最大値と最小値の差が所定値よりも小さい場合、第1のAFエリアを下方へ拡大させる指令を上記AF評価値発生部に発することを特徴とする請求項1ないし請求項3に記載のオートフォーカス装置。When the difference between the maximum value and the minimum value of the AF evaluation value in the first AF area is smaller than a predetermined value, the AF control unit issues a command to the AF evaluation value generation unit to enlarge the first AF area downward. The autofocus device according to claim 1, wherein the autofocus device emits light. 上記AF制御部は、第1のAFエリアの拡大によっても、第1のAFエリアにおけるAF評価値の最大値と最小値の差が所定値に達しない場合、上記フォーカスレンズを固定焦点に移動させることを特徴とする請求項4に記載のオートフォーカス装置。The AF control unit moves the focus lens to a fixed focus when the difference between the maximum value and the minimum value of the AF evaluation value in the first AF area does not reach a predetermined value even when the first AF area is enlarged. The auto-focusing device according to claim 4, wherein: 上記AF制御部は、第1のAFエリアにおけるAF評価値の最大値が、第2のAFエリアにおけるAF評価値最大値の第1のAFエリアに対する換算値以上である場合、上記換算値との差が最大となる位置ではなく、第1のAFエリアのAF評価値が最大となる位置を上記フォーカスレンズの合焦位置とすることを特徴とする請求項2ないし記載の請求項6に記載のオートフォーカス装置。When the maximum value of the AF evaluation value in the first AF area is equal to or greater than the conversion value of the maximum AF evaluation value in the second AF area with respect to the first AF area, the AF control unit determines that 7. The in-focus position of the focus lens according to claim 2, wherein a position at which the AF evaluation value of the first AF area is at a maximum is not a position at which the difference is at a maximum. Autofocus device. フォーカスレンズによって撮像素子上に結像された被写体像を画像信号に変換し、該画像信号から高周波成分を抽出してAF評価値を生成し、該AF評価値が最大となる位置に上記フォーカスレンズを移動させて合焦するオートフォーカス方法において、
撮影視野の中央部に設定した第1のAFエリアと、該AFエリアを含んでその周囲に拡がる第2のAFエリアとについて上記AF評価値を求め、これらAFエリアのAF評価値から割り出される上記フォーカスレンズの合焦位置が等しくない場合、第1のAFエリアのAF評価値から上記フォーカスレンズの合焦位置を割り出す一方、第1及び第2のAFエリアのAF評価値から割り出される上記フォーカスレンズの合焦位置がほぼ等しい場合には、第1及び第2のAFエリアにおけるAF評価値の差から上記フォーカスレンズの合焦位置を割り出すことを特徴とするオートフォーカス方法。
The subject image formed on the image sensor by the focus lens is converted into an image signal, a high-frequency component is extracted from the image signal to generate an AF evaluation value, and the focus lens is located at a position where the AF evaluation value is maximum. In the auto focus method of moving and focusing,
The AF evaluation values are obtained for the first AF area set at the center of the field of view and the second AF area including the AF area and extending around the first AF area, and are calculated from the AF evaluation values of these AF areas. If the focus positions of the focus lenses are not equal, the focus position of the focus lens is determined from the AF evaluation value of the first AF area, while the focus position of the focus lens is determined from the AF evaluation values of the first and second AF areas. When the focus positions of the focus lenses are substantially equal, the focus position of the focus lens is determined from the difference between the AF evaluation values in the first and second AF areas.
JP2003102063A 2003-04-04 2003-04-04 Automatic focusing device and automatic focusing method Pending JP2004309722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003102063A JP2004309722A (en) 2003-04-04 2003-04-04 Automatic focusing device and automatic focusing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003102063A JP2004309722A (en) 2003-04-04 2003-04-04 Automatic focusing device and automatic focusing method

Publications (1)

Publication Number Publication Date
JP2004309722A true JP2004309722A (en) 2004-11-04

Family

ID=33465662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003102063A Pending JP2004309722A (en) 2003-04-04 2003-04-04 Automatic focusing device and automatic focusing method

Country Status (1)

Country Link
JP (1) JP2004309722A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007267447A (en) * 2006-03-27 2007-10-11 Fujinon Corp Drive control device
JP2008046226A (en) * 2006-08-11 2008-02-28 Canon Inc Automatic focus controller and image pickup device
JP2009069740A (en) * 2007-09-18 2009-04-02 Canon Inc Image pickup device
JP2010107578A (en) * 2008-10-28 2010-05-13 Panasonic Corp Automatic focusing device
JP2010169825A (en) * 2009-01-21 2010-08-05 Sanyo Electric Co Ltd Imaging device
JP2011257772A (en) * 2011-08-11 2011-12-22 Casio Comput Co Ltd Imaging device and program for the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007267447A (en) * 2006-03-27 2007-10-11 Fujinon Corp Drive control device
JP2008046226A (en) * 2006-08-11 2008-02-28 Canon Inc Automatic focus controller and image pickup device
JP2009069740A (en) * 2007-09-18 2009-04-02 Canon Inc Image pickup device
JP2010107578A (en) * 2008-10-28 2010-05-13 Panasonic Corp Automatic focusing device
JP2010169825A (en) * 2009-01-21 2010-08-05 Sanyo Electric Co Ltd Imaging device
JP2011257772A (en) * 2011-08-11 2011-12-22 Casio Comput Co Ltd Imaging device and program for the same

Similar Documents

Publication Publication Date Title
JP4907740B2 (en) Imaging device
JP2007086596A (en) Camera
EP2007135B1 (en) Imaging apparatus
JP2003167182A (en) Automatic focusing device
JP2004037733A (en) Automatic focusing device
CN106412423A (en) Focusing method and device
JP2008085737A (en) Electronic camera
JP2009069696A (en) Imaging device and focusing control method
JPH07135596A (en) Video camera
JP2004309722A (en) Automatic focusing device and automatic focusing method
JP2002122776A (en) Autofocus controller, digital still camera and digital video camera equipped with the same, autofocus control method and recording medium having autofocus control program recorded thereon
JPH0630322A (en) Automatic focusing device
JP3562820B2 (en) Automatic focusing device
JP2004138970A (en) Autofocus camera and photographing method
US20110032390A1 (en) Digital photographing apparatus and moving picture capturing method performed by the same
JP2008111897A (en) Autofocus device and imaging apparatus
JP4496051B2 (en) Imaging device
JP3624037B2 (en) Image input apparatus and image processing apparatus
JP5938269B2 (en) Imaging apparatus and control method thereof
JP2005091456A (en) Digital camera
JPH0437827A (en) Image pickup device
JP2002277730A (en) Method, device and program for automatic focusing control of electronic camera
JP3601414B2 (en) Video camera autofocus device
WO2021010022A1 (en) Imaging device and diaphragm mechanism control method
JP4586611B2 (en) Imaging apparatus, image processing method, and program