[go: up one dir, main page]

JP4434345B2 - Automatic focusing apparatus and method - Google Patents

Automatic focusing apparatus and method Download PDF

Info

Publication number
JP4434345B2
JP4434345B2 JP32793198A JP32793198A JP4434345B2 JP 4434345 B2 JP4434345 B2 JP 4434345B2 JP 32793198 A JP32793198 A JP 32793198A JP 32793198 A JP32793198 A JP 32793198A JP 4434345 B2 JP4434345 B2 JP 4434345B2
Authority
JP
Japan
Prior art keywords
lens
evaluation value
value
focus adjustment
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP32793198A
Other languages
Japanese (ja)
Other versions
JP2000152065A (en
Inventor
芳治 五反田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP32793198A priority Critical patent/JP4434345B2/en
Publication of JP2000152065A publication Critical patent/JP2000152065A/en
Application granted granted Critical
Publication of JP4434345B2 publication Critical patent/JP4434345B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、撮像レンズにより結像される焦点位置を調節する自動焦点調節装置および方法に係り、たとえばCCD 固体撮像素子などの撮像素子にて得られる画像情報に基づいて、撮像レンズの焦点位置を調節し、所望の合焦状態を得る自動焦点調節装置および方法に関するものである。
【0002】
【従来の技術】
被写界を撮像してその撮像映像を出力するビデオカメラでは、撮像レンズのフォーカシングレンズを動かしながら撮像し、その出力映像信号から高周波成分を抽出して合焦のための評価値を算出し、フォーカシングレンズの移動の結果、評価値が増加する場合は同方向の移動を継続し、逆に評価値が減少する場合は逆方向にレンズを移動させることを繰り返して、評価値が最大となる位置にフォーカシングレンズを追い込んでいく、いわゆる山登りサーボ方式が採用されている。
【0003】
たとえば、特許第2677036 号公報では、山登りAFにおける合焦動作中に焦点評価値に偽山が生じても合焦点であるとは判断せずに合焦動作を継続する山登りオートフォーカス方式が開示されている。この方式における合焦制御は、フォーカスレンズを任意の方向に起動し、評価値が増加するならば同方向に駆動し続け反対であれば逆方向に駆動し、評価値の増加方向から減少方向への変化により評価値の頂上を通過したことを検出記憶し、記憶した合焦点の位置へフォーカシングレンズを戻し、さらに評価値の変化状態を監視し、変化が生じたときに必要に応じて合焦制御を再開するアルゴリズムによるものである。この方式では、焦点評価値の山が現われた際に閾値以上のエッジ成分がある場合にそれを真の山と判断し、評価値の変動があっても閾値以上のエッジ成分がある場合には、ピントがはずれない限り合焦動作を停止しておく。
【0004】
【発明が解決しようとする課題】
しかしながら従来の山登りサーボ方式では、評価値の増加および減少を常に認識しながらフォーカスレンズを移動させるので、ハンチングするなどにより合焦結果が得られるまでに多くの時間を要し、処理負担が大きいという問題があった。またこの方式は、フォーカスレンズを合焦位置に追い込んでいくため、被写体像を連続的に撮像し動画としてモニタ出力するビデオカメラにとっては有効に適用可能であるが、たとえば、レリーズスイッチオンに応動する撮影命令によって瞬時にフォーカシングする必要があるスチルカメラでは、この追い込みのための時間が余分となって、合焦位置にフォーカスレンズが制御されるまでにタイムラグが生じてしまうという問題があった。このためシャッタチャンスを逃してしまう可能性が高く、スチルカメラにそのまま適用することができない。
【0005】
そこでスチルカメラでは、迅速なフォーカシングを行なうために、フォーカシングレンズをたとえば無限遠位置から至近位置間での全域にピントが合うようにスキャンさせて、その間に撮像される複数コマの画像情報に基づいて合焦のための評価値を求め、その評価値が最大となった位置にフォーカシングレンズを移動させて撮影記録を行なうことが行なわれる。この場合、撮像レンズの焦点距離が長くなればなるほど被写界深度が浅くなるので、高精度な合焦結果を得るためには多くの評価値算出ポイントを設けてフォーカシング段数を多くする必要があり、このためフォーカシングに所要する時間が多くかかり、処理負担も大きいという問題が発生する。
【0006】
本発明はこのような従来技術の欠点を解消し、たとえば長焦点距離側であっても、装置に対する負担を軽減するとともに、より短い時間で高精度な合焦結果が得られる自動焦点調節装置および方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明は上述の課題を解決するために、撮像手段から出力される撮像信号に基づいて、撮像手段に被写界の像を結像させる撮像レンズの焦点位置を調節する自動焦点調節装置において、この装置は、焦点調節を行なうためのレンズを焦点調節領域内で移動させる移動手段と、撮像素子から出力される画像信号から被写界のうち所定のフォーカシング領域におけるコントラスト成分を抽出し、コントラスト成分に応じた評価値をレンズの各移動位置ごとに算出する評価値算出手段と、フォーカシング領域における被写体に対し合焦するレンズの位置を評価値に基づいて求め、移動手段を制御する制御手段とを有し、制御手段は、レンズを移動させた際に評価値が連続して減少する連続減少回数を計数する計数手段と、評価値のうち被写界における最大値が得られたことを減少回数に基づいて判定する第1の判定手段と、評価値の最大値とレンズの他の移動位置にて得られた評価値とに基づいて評価値が所定値以上あることを判定する第2の判定手段と、第1および第2の判定手段の判定結果に従って移動手段を制御し、レンズの移動を停止させ、評価値の取得を中断する中断手段と、中断手段によって処理が中断されると、評価値の最大値が得られた位置に移動手段によってレンズを移動させて合焦状態とする合焦決定手段とを含むことを特徴とする。
【0008】
また、本発明は上述の課題を解決するために、撮像手段から出力される撮像信号に基づいて、撮像手段に被写界の像を結像させる撮像レンズの焦点位置を調節する自動焦点調節方法において、この方法は、焦点調節を行なうためのレンズを焦点調節領域内で移動させる移動工程と、撮像素子から出力される画像信号から被写界のうち所定のフォーカシング領域におけるコントラスト成分を抽出し、コントラスト成分に応じた評価値をレンズの各移動位置ごとに算出する評価値算出工程と、フォーカシング領域における被写体に対し合焦するレンズの位置を評価値に基づいて求める制御工程とを有し、制御工程は、レンズを移動させた際に評価値が連続して減少する連続減少回数を計数する計数工程と、評価値のうち被写界における最大値が得られたことを減少回数に基づいて判定する第1の判定工程と、評価値の最大値とレンズの他の移動位置にて得られた評価値とに基づいて評価値が所定値以上あることを判定する第2の判定工程と、第1および第2の判定工程における判定結果に従って、レンズの移動を停止させ、評価値の取得を中断する中断工程と、中断工程によって処理が中断されると、評価値の最大値が得られた位置にレンズを移動させて合焦状態とする合焦決定工程とを含むことを特徴とする。
【0009】
【発明の実施の形態】
次に添付図面を参照して本発明が適用されたディジタルカメラの一実施例を詳細に説明する。図1を参照すると、自動焦点調節機能を有するディジタルカメラ10が示されている。このカメラ10は、撮像部12に備えられた撮像レンズ14、絞り16および撮像素子(CCD) 18よって被写界を連続的に撮像するムービー機能を有するスチルカメラであり、動画モードにおける撮像映像を表示部20に備えられた液晶モニタ装置に表示して撮像時におけるファインダ機能を提供する。また、レリーズ釦22の第1ストロークでスイッチS1がオンとなると撮像レンズを駆動して焦点調節を行ない、撮像画像が合焦状態となってレリーズ釦22の第2ストロークでスイッチS2がオンとなると静止画像モードにおける撮影・記録処理に移行する。撮像部12にて撮像された1コマの静止画像信号は信号処理回路24、A/D 変換回路26、バッファメモリ28および圧縮処理回路30を通して記録処理部32に入力されて、カメラ10本対に着脱自在に装填されるメモリカード34に記録される。
【0010】
撮像部12に配置された撮像レンズ14は、焦点距離が短焦点側の7mm から長焦点側の21mmまで連続的に可変とするバリエータレンズ系を有するズームレンズが適用されており、内部に焦点位置を調節するためのフォーカシングレンズ系を有するインターナルフォーカシングレンズである。なお、撮像レンズ12は、レンズ全体もしくは一部を繰り出して焦点位置を調節する機構によるものでもよい。この撮像レンズは図4に示すように、たとえば、焦点距離7mm のときには無限遠から最至近距離までのフォーカシングレンズの移動距離、つまりフォーカス領域が81.7μmとなっており、焦点距離21mmのときのフォーカシング距離は735 μmである。この撮像レンズ14の焦点距離および焦点位置は、モータの回転等により調節されて、そのモータを駆動する駆動信号は図1に示す駆動回路36より供給される。
【0011】
撮像レンズ14の後方のアフォーカル部分には、入射光量を調節する絞り16が配置されており、この絞り量は駆動回路36から供給される制御信号によって調節される。絞り16の奥の焦点面には、撮像素子(CCD) 18が配置されており、撮像素子18は、たとえば、R,G,B カラーフィルタおよびマイクロレンズがその撮像面に配置されて、撮像面に結像された光学像を電荷に変換するフォトダイオードと、電荷を垂直および水平走査方向に転送する電荷結合素子(CCD) とを含む構成により、撮像画素を出力アンプにて読み出して電気信号として出力する。本実施例における撮像素子18は、80万〜150 万画素を構成するフォトダイオードを有し、CCD 駆動回路38より供給される駆動信号に応じて、全画素および間引き画素の撮像信号を出力する。撮像素子18は、間引き画素を出力する動画像モードでは、たとえば水平および垂直方向に各1/2 画素ずつ間引いて画素を転送することにより、高画素密度の撮像素子であっても高速な信号出力を行なう。
【0012】
図2は撮像素子の出力信号による画面形成を概念的に示しており、全画素読出しを行なう静止画像モードの場合には、撮像信号の出力信号のうち有効画素による画面200 は、たとえば水平方向に1280画素、垂直方向に960 画素にて形成される。また、動画像モードでは、水平および垂直方向に各640 ×480 画素にて形成される画面202 を表わす画像信号が各フレームごとに出力される。電源が投入されてモニタ表示機能が有効状態となっている場合には、実際の撮影記録に先立つレリーズ釦22の第2ストロークまでの間に画像信号が撮像素子18から間引き読み出しされ、間引き読み出しされた画像信号は表示部20に供給されるとともに、レリーズ釦22が押下されて第1ストロークが発生しスイッチS1がグランドGに接続されると後述のフォーカシング段数(ステップ)に応じた複数フレームの画像信号に基づいて撮像レンズ14のフォーカシングが調整される。また、レリーズ釦22が押下されて第2ストロークが発生しスイッチS2がオンとなってグランドGに接続されると、1フレームの画像信号が撮像素子18から全画素読み出しされて、この静止画像に対する信号処理および圧縮符号化処理の後、その符号化データがメモリカード34に記録される。
【0013】
撮像素子18の出力は撮像部12の出力を構成し信号処理回路24に接続されている。信号処理回路24は、入力される画像信号に対して、明るさ、色および階調などに関わる信号レベルを補正および調整する処理を行なう。また信号処理回路24は、静止画モードにおいてRGB 画像信号の各画素を画素補間し、さらに輝度および色成分からなるYC形式の画像信号を形成する機能を有する。信号処理回路24の出力は、アナログ・ディジタル(A/D) 変換回路26に接続され、A/D 変換回路26は、画像信号をたとえば8ないし10ビットのディジタル画像データに変換して出力する。
【0014】
A/D 変換回路26の出力は一方は、入力される画像データをカラー画像表示する液晶パネルを有する表示部20に接続され、他方の出力はバッファメモリ28に接続されている。バッファメモリ28は、画像データを一時記憶して出力するラインバッファである。本実施例では、動画モードでは評価値算出回路42にて必要とされる出力タイミングにて画像データを出力する。またバッファメモリ28は静止画モードでは圧縮処理回路30にて必要とされるタイミングにてYC画像データを出力する。
【0015】
圧縮処理回路30は、静止画モードにおいて入力される画像データを、記録処理部32に装填される記録媒体34に応じた所定の形式にて圧縮符号化する符号化回路である。本実施例における圧縮処理回路30は、画像データを8x8 画素のブロックごとに2次元DCT 処理を施し、処理された変換係数をハフマン符号化するたとえばJPEG方式などの圧縮符号化処理により、制御部40から設定される圧縮率にて画像データを符号化する。圧縮処理回路30の出力は記録処理部32に接続され、記録処理部30は、符号化された画像データおよびその付属情報をメモリカード34に書き込み、また、メモリカード34に記録された情報を読み出す記録読出機能を有する。
【0016】
評価値取得回路42は、レリーズ釦22の第1ストロークが押下された際に、制御部40の制御により、動画モードに入力される画像信号のうちG成分のデータをサンプリングしてフォーカシングエリア内での高域周波数成分を抽出し、被写体像のコントラスト情報を取得する回路である。このコントラスト情報は、図2に示した480x640 画素の撮像範囲(被写界)を複数のブロック204 に分割し、そのうち、1つもしくは複数ブロックにおける部分をフォーカシングエリア206 として、そのエリアに対応するG成分画像データに基づいて算出される撮像レンズ14の合焦位置を制御するための評価値であり、算出された評価値は制御部40に出力される。このフォーカシングエリア206 は制御部40の制御により任意の位置に複数のエリアが設定可能であるが、本実施例では図2に斜線で示すように、画面202 の中央部における4ブロックをフォーカシングエリア206 としている。また、評価値取得回路42は、入力される画像データに基づいて、被写界全体およびフォーカシングエリア206 内の明るさを判定する機能を有しており、検出した明るさを示す情報を制御部40に通知して、撮像部12におけるシャッタ速度および絞り値等の露出制御や信号処理回路24における信号増幅をゲイン制御させる。
【0017】
各部を制御する制御部40は、レリーズ釦22の操作状態を検出して動画モードと静止画モードを切り換え、カメラ10の各部は、設定された動作モードに応じて動作する。たとえばCCD 駆動回路38は設定されたモードに従って撮像素子18を全画素読出または間引き読出で駆動する。また、制御部40は、評価値取得回路42より供給される輝度情報に従って撮像部12におけるシャッタ速度および絞り値を制御する。CCD 駆動回路38は、撮像素子18にて光電変換される電荷を制御信号に応じて垂直転送路にシフトする駆動信号を生成して、制御信号に応じた露光時間にて撮像された画像信号を撮像素子から出力させる電子シャッタ制御機能を有する。
【0018】
また、制御部40は、信号処理回路24にて信号処理する際の処理パラメータを生成してパラメータに応じた信号処理を行なわせる。制御部40は、たとえば輪郭強調処理、色バランス補正およびガンマ補正処理等を制御する。また、制御部40は、圧縮処理回路30における圧縮符号化処理の圧縮率を設定する機能を有し、たとえば、メモリカード34の記憶容量に応じて操作者から指定される圧縮率にて画像データを圧縮符号化させる機能を有する。符号化された画像データをメモリカード34に記憶させる際に、記録処理部32にその画像の付属情報を供給して、メモリカード34の記録形式に応じた領域に、撮影日および時刻および露出などの撮影情報や圧縮率および圧縮形式情報、さらには、記録画像をプリントする際にプリント指定するためのプリント情報等を記録させる。
【0019】
制御部40はまた、評価値算出回路42に対しフォーカスエリア206 を指定する機能を有している。制御部40は、撮影状況および操作者の指定に応じたフォーカスエリア206 を評価値取得回路42に設定し、設定したエリア206 にて得られる自動焦点調節のための評価値に基づいて撮像レンズ12の焦点位置を制御する。具体的には、レリーズ釦22の第1ストロークによって、フォーカシングレンズを無限遠から最至近方向に、フォーカス領域内で移動するAFサーチを駆動する制御信号を駆動回路36に供給するとともに、評価値取得回路42から得られる評価値に基づいて、その移動を中断するか否かを判定する。中断すると判定した場合は、有効な評価値がすでに得られている場合でありフォーカシングレンズの移動を停止させる制御信号を駆動回路36に供給する。そして制御部40は、最大値を示す評価値が得られた場所へフォーカシングレンズを逆行させてその位置にレンズを保持させる。
【0020】
制御部40は、図3および図4に示すように撮像レンズ14の焦点距離に対応して変化するフォーカス領域300 に応じて、評価値を算出するフォーカスレンズ位置の幅を示すAFステップ幅302 を決定してステップ幅302 に応じたフォーカス段数304 を設定する。このフォーカス段数は図3に示すように、各焦点距離におけるフォーカス領域300 をステップ幅302 で等分割してもよいが、近距離(至近限界)側のステップ幅302 を無限遠側よりも短くして、近距離側での評価値算出ポイントを多くし、焦点精度を上げるように設定してもよい。なお、本実施例における撮像レンズ14は、焦点距離が可変のズームレンズであるが、撮像レンズ14はこれに限らず、たとえば、短焦点側から長焦点側に複数ラインアップされた単焦点レンズであって、カメラ本体10に着脱可能にレンズ交換することのできる単焦点レンズであってもよい。この場合、各単焦点レンズの焦点距離および明るさ(F値) は、電気的もしくは機械的に本体10の制御部40に伝達される。
【0021】
駆動回路36では、制御部40から供給される制御信号に応動して、撮像レンズ14の被写界上のピント位置が無限遠位置から最至近位置方向に一定方向に移動するようフォーカシングレンズの位置を移動させてAFサーチを行なう。本実施例では、無限遠位置から至近位置に焦点が合うようにフォーカシングレンズを移動させて評価値を得るためのAFサーチを行なうがこれに限らず、たとえば撮像レンズ14の構成に応じて逆に至近位置から無限遠位置に焦点が合うようにレンズを移動開始させるようにしてもよい。この場合、撮影者の撮影目的および被写体に応じて、遠距離側もしくは近距離側を優先して撮影する頻度が高いかどうかにしたがってレンズ移動の向きを切り換えるように構成するとよい。たとえば、マクロ撮影(近距離撮影)を多用する場合には、至近距離側から遠距離側にフォーカシングレンズを移動させて評価値を算出し中断判定を行なうと、中断処理により無限遠側までフォーカシングレンズを駆動させることなく合焦状態が得られる。また、本実施例のように無限縁側から最至近位置に焦点を結ぶようにしてフォーカシングレンズを移動させて評価値を得る場合には、たとえば0.5 ないし1.5,もしくは2メートル位までの近距離側に焦点を結ぶように、フォーカシングレンズを移動させることなく合焦のためのレンズ位置を求めることができるので中距離ないし遠距離にある被写体をメインに撮影する際に好適である。このように本実施例では自動焦点調節機能におけるフォーカスリミット機能を有しているので、迅速な撮影を行なうことができるとともに、リミット位置が固定されておらず、撮像画像データに応じて可変的に、つまり撮影状況に応じて適切な状態にてレンズ移動を中断させることにより自動焦点調節を高速化させる。
【0022】
制御部40は、焦点距離に応じた複数のフォーカス段の位置にて作成される評価値に基づいてフォーカシングレンズをその最大値となった場所へ最終的には移動させる。このため、制御部40は撮像レンズ14における現在の焦点距離を認識する機能を有し、焦点距離に応じたフォーカス段数を決定する。このフォーカス段数は評価値取得回路42に供給され、取得回路42は、段数に応じたタイミングにて入力される画像データから評価値をそれぞれ算出する。制御部40は、取得回路42にて得られた評価値の最大値と最小値とを各フォーカス段にて認識してゆく。
【0023】
制御部40は、各フォーカス段にて算出される評価値が、フォーカス段が変化するたびに連続して何回連続して減少したかどうかを判定する機能を有している。制御部40は、その連続減少回数この自動焦点調節(CCDAF) を中断処理するための中断判定値Cと比較し、連続減少回数が中断判定値を超えるまでは、各フォーカス段における評価値取得を継続する。逆に連続減少回数が中断判定値Cを超えた場合には、制御部40はさらに、それまで得られている評価値の最大値および最小値の差を演算し、さらにその差と所定の閾値Kとを比較して評価値に有効な高低差があるかどうかを判定する。この結果、フォーカスエリア206 内の被写体に焦点調節を行なうための充分なコントラストがあるかどうかが判定される。最大と最小との差が閾値K超えるまでは各フォーカス段における評価値取得を継続し、その差が閾値Kを超えた場合には、フォーカスレンズの移動および評価値の取得処理を中断する。このようにして制御部40は、フォーカシングレンズの移動中に得られる評価値の高低差を検出し、中断判定値の回数分連続して評価値が減少し、さらに所定以上のコントラストが検出されると、評価値の最大がすでに検出されたと判定してフォーカシングレンズの移動を中断させ、さらに評価値算出を終了させる。制御部40は、その後直ちに、評価値の最大が得られたフォーカシング段の位置にフォーカシングレンズを移動させて合焦状態を維持する。
【0024】
なお、本実施例における制御部40は、評価値の最小値を認識してその最大値と最小値との差を演算しているがこれに限らず、たとえば、前記連続減少回数が中断判定値Cを超えて、この中断判定が成立した際のレンズ位置にて取得された評価値を前記最小値に代えて用いてもよい。つまり制御部40は、最大値を取得したレンズ位置以外の他の移動位置にて得られた評価値と最大値との差に基づいてフォーカスエリア内のコントラストを判定するとよい。
【0025】
本実施例では、制御部40は、評価値の値が所定回数以上減少する場合に、山をすでに検出したことを認識する。この減少回数を判定するための判定回数(CCDAF中断判定値)は、撮像レンズ14の焦点距離に応じて変化するので、制御部40は格納しているテーブルを参照して判定する。また、これら各焦点距離にてフォーカス領域に設定されるステップ幅に応じたフォーカス段数は、短焦点側から長焦点側に変化するに従って多くの値となるように設定されており、特に被写界深度の浅い長焦点側での合焦精度を高めるように設定されている。
【0026】
また、本実施例における判定回数(CCDAF 中断判定値C)は、図4に示したように短焦点側ではフォーカス段数と同じ数値"4" かもしくはそれに近い値"4"(約100 %)が設定されて、中断処理を実質的に行なわないように設定されている。また、判定回数Cは、長焦点側に近づくにつれて、"4,4,5,6,7,8" となってフォーカシング段数"8,11,13,16,19,22"の約50〜30%の整数値に設定される。これは、短焦点側ではフォーカス領域が短くフォーカス段数も少なくてすむので、焦点調節時間がそれほど多くかからず、逆に長焦点側ではフォーカス領域が長くフォーカス段数も多く必要となるので、多くの焦点調節時間が必要となってくるためである。この判定回数Cは全フォーカシング領域におけるフォーカス段数の約20〜50%程度が好ましい。たとえば図4に示したように焦点距離が22mmのときではフォーカス段数22に対してCCDAF 中断判定値は"8" となっており、この場合、連続して評価値が減少した回数が8回となると評価値の山をすでに検出したことを認識する。ここでフォーカシングレンズの駆動が停止されて最大の評価値が得られた場所にフォーカシングレンズが駆動される。この場合、各評価値が得られた位置をフォーカス段に対応して記憶しておきその記憶位置にフォーカシングレンズを制御してよく、また、たとえば焦点距離が22mmではCCDAF 中断判定値"8" と同値のフォーカス段数分だけフォーカシングレンズの位置を逆に移動させて戻してもよい。また、最大値に匹敵する値が複数発生した場合には、それらのうち至近側の評価値に対応する位置をフォーカシングレンズを移動すべき位置とすることにより後ピン状態となるのを防止する。
【0027】
なお、被写界の輝度(明るさ)が低く(暗く)低コントラストの場合に制御部40は、CCDAF 中断判定値Cを図4に示した値よりも大きい値のテーブルを用い、逆に被写界の輝度が高く高コントラストの被写体である場合にはこれを判定してCCDAF 中断判定値Cを図4に示した値よりも小さい値のテーブルを索出するようにするとよい。より小さな値にて構成されるテーブルを用いて中断判定する場合には、フォーカシングレンズを移動させる時間および距離をさらに短縮化させることができる。
【0028】
制御部40は、合焦状態を満足する位置にフォーカシングレンズが制御されると撮影を許可し、レリーズ釦22の第2ストロークが押下されているか否かに応じて第2ストロークオンの場合には静止画モードを設定する。静止画モードでは、合焦状態にて撮像された画像信号に、静止画像用の画像処理を加えて圧縮符号化し、符号化データをメモリカード34に書き込み、また制御部40からは、日付や撮影条件および圧縮率等の撮影記録に関する各種情報を記録処理部32に出力してメモリカード34に記録させる。
【0029】
以上のような構成で、カメラ10のオートフォーカス動作を説明すると、レリーズ釦22が押下されてその第1ストロークにより、撮像素子18が間引き駆動されて640x480 画素の画像データが評価値取得手段42に入力される。評価値取得手段42ではその画像データの表わす画面のうち制御部40より設定される一部の領域をフォーカスエリア206 として、そのフォーカスエリア206 内の評価値が算出される。本実施例では撮像画面を等面積で64個ブロックに分割し、撮影条件、撮影状況および操作者からの指定に応じた箇所の複数ブロックが評価値を算出するフォーカシングエリア206 に設定される。次にステップ602 において撮像レンズ14の焦点距離の現在値が制御部40に取得されてステップ604 に進み、フォーカスレンズの位置が無限遠位置にあることが確認され、無限遠位置ではない場合にはフォーカスレンズが無限遠位置に移動される。
【0030】
続くステップ606 にて制御部40のレジスタnに初期値"0" がセットされると、ステップ608 に進んで現在の焦点位置における評価値が算出され、算出された評価値は制御部40に入力される。制御部40ではこのフォーカス段における評価値が記憶格納されて図7に示す中断判定処理に移行する。
【0031】
ステップ700 における中断判定処理では、レジスタCに現在の焦点距離[ZOOMPOS] に対応するテーブル値C_TABLE がセットされる。この場合、焦点距離が7mm 〜13mmであるときには値4がレジスタCにセットされ、13mmを超え15mm以内では値5、15mmを超え17mm以内では値6、17mmを超え19mm以内では値7、19mmを超え21mm以内では値8がそれぞれレジスタCにセットされる。
【0032】
ついでステップ702 に進んで、評価値取得部42にて算出される評価値が、レジスタCにセットした値の回数分連続して減少したか否かが判定される。ここで、連続減少していないと判定された場合にはステップ704 にて、焦点調節処理の継続が決定されて図6に示したステップ612 に進む。
【0033】
ステップ612 では中断判定における決定結果に応じて処理を継続するかどうかを制御する。継続の場合にはステップ614 に移行して、フォーカスレンズの段数が最後の位置、つまり最至近位置における評価値が算出されたかどうかが確認され、最至近位置での評価値がまだ得られていない場合にはステップ616 に進む。ステップ616 ではフォーカスレンズがそのときの焦点距離に応じたAFステップの1ステップ分移動されてステップ608 に戻る。ステップ608 では焦点位置の異なるフレームの画像データから評価値が算出され、これ基づいて本ステップ以降の処理が繰り返される。また、ステップ614 にてフォーカシングレンズが最終段の位置でその評価値が得られている場合や、ステップ612 にて中断であった場合にはステップ618 に進む。
【0034】
一方、図7に示したステップ702 において、評価値の連続減少がレジスタCにセットされた値の回数分検出された場合には、ステップ706 に進んでレジスタnの値に1が加算され、ステップ708 ではそのレジスタnの値がレジスタCの値を超えているか否かが判定される。レジスタnの値がレジスタCの値を超えている場合にはステップ710 に進み、それ以外の場合にはステップ704 にて継続が決定される。
【0035】
ステップ710 に進むと、算出された評価値の最大値(AFmax) と最小値(AFmin) との差が、所定の値Kよりも大きいかどうかが判定される。ここで評価値の差が値Kよりも大きい場合には所定のコントラストがあることを示しているのでステップ712 にて焦点調節の中断が決定され、図6に示したステップ618 に進む。また、評価値の差が値Kよりも大きくはない場合には前述と同様にステップ704 に進んで処理の継続が決定される。
【0036】
ステップ612 により中断処理に移行すると、ステップ618 において最大評価値が得られた場所へフォーカシングレンズが移動され、第1ストローク状態が解除されるまでその移動位置に保持される。それとともに評価値取得回路42の動作が停止されて自動焦点調節の処理が終了し、ステップ620 に進んで撮影記録許可が得られる。撮影記録許可が得られると、レリーズ釦22の操作状態が確認され、ここで第2ストロークがすでに発生していたかもしくは発生する場合に静止画モードに移行される。静止画モードでは、現在の焦点距離および焦点位置によって被写界が撮像されて、処理された画像データが圧縮符号化され、その付属情報とともにメモリカード34に書き込まれる。この撮像処理が終了すると撮像レンズ14のフォーカシングレンズは無限遠位置に復帰されて続く撮影に備える。また1コマの撮影後にレリーズ釦22が所定の時間以上継続して押下されている場合には、新たな第1ストロークおよび第2ストロークが再度あったものと見なして自動焦点調節を再開して繰り返す。
【0037】
これらの様子を図5に示した評価値の変化状態に従って説明すると、同図に示すように、最初無限遠位置にて得られた評価値500 が、フォーカシングレンズの移動に伴って上昇し、その最大値502 を過ぎてもさらにレンズが移動する。そして評価値が減少してその減少回数が6回連続した場合の評価値504 が得られて、このとき評価値の最大値502 と評価値500 との差が設定値Kよりも大きい場合に中断が決定される。その後、フォーカシングレンズが評価値502 が得られたフォーカス段506 の位置に制御されて制御部40より撮影許可が下りる。この例では一般的に理想的に得られる評価値の状態にて説明しているが、コントラスト差が低い場合であっても、またフォーカス領域300 の中央部に山がなくて片側のみ(図の右または左)が高く他方が低い場合であっても正常に機能する。本実施例では、無限縁側からフォーカシングレンズの移動を開始するので、遠距離側にピントが合う場合ほど中断による効果が高まる。逆に最至近側からフォーカシングレンズを移動開始させる場合には、近距離側にピントが合う状態であるほど中断による効果が高まる。
【0038】
以上説明したように、上記実施例では自動焦点調節を行なう際、撮像レンズ14の焦点距離が長くなってくるにつれて、フォーカス領域内で相対的にフォーカシングレンズの移動中断をより早めるように設定されており、フォーカシング領域が長く、また、合焦判定のための評価値が必要となるフォーカシング段数が多い場合であっても、すでに最大の評価値が得られたと判断するとレンズ移動を中断するので、焦点調節の際にフォーカス領域の全域をスキャンすることなく、焦点調節に必要な情報が得られて、フォーカシングレンズを精度よく合焦位置に制御する。この結果、従来より迅速にピントを合わせることができ、静止画像を得るためのタイムラグが減少するとともに、レンズ駆動に伴う電力消費および制御に関わる処理負担が低減される。これは、たとえば短焦点レンズであっても評価値算出ポイントをより多くしてフォーカシング段数を多くして合焦精度を高める場合、さらには被写界深度の浅い近距離撮影および長焦点レンズを使用した場合等にとくに有効である。
【0039】
【発明の効果】
このように本発明によれば、フォーカシングのためのレンズを移動して評価値を得る際に、有効な評価値を求めてその最大値をすでに取得したと判断すると、レンズ移動および評価値の取得処理を中断して、すでに最大の評価値を取得したことを認識し、その位置にレンズを駆動するので、フォーカス領域の全域にわたってレンズを駆動させることがなく、精度のよい合焦位置を得ることができる。また、レンズ移動を中断することにより、処理負担、制御負担が軽減され、さらに消費電力までもが低減されるので、携帯して使用されるディジタルカメラ等に好適な自動焦点調節装置が提供される。
【0040】
この場合、評価値取得ポイントであるフォーカス段の数をより多くして焦点調節の精度を高めた場合であっても、撮像信号に基づいて得られるフォーカシングエリア内の評価値に従って焦点調節を行なう際に、その評価値の状態に応じてフォーカシングレンズの移動処理が途中で中断されるので、このような高性能な焦点調節を行なう場合であっても、焦点調節に要する時間がその精度を高めた場合であっても短縮化される。
【図面の簡単な説明】
【図1】本発明が適用されたディジタルカメラの一実施例を示すブロック図である。
【図2】静止画モードおよび動画モードにおける撮像画面およびフォーカシングエリアを概念的に示す図である。
【図3】ズーミングおよびフォーカシング位置に応じたステップ幅の変化を示す図である。
【図4】図3に示した図の基礎となる値が記憶されたテーブルの一例を示す表を示す図である。
【図5】フォーカシングレンズの移動に伴って変化する評価値の一例を示すグラフである。
【図6】実施例における自動焦点調節の動作を示すフローチャートである。
【図7】図6に示した動作における中断判定処理の詳細を示すフローチャートである。
【符号の説明】
10 ディジタルカメラ
12 撮像部
14 撮像レンズ
18 撮像素子(CCD)
40 制御部(CPU)
42 評価値取得回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an automatic focusing apparatus and method for adjusting a focal position formed by an imaging lens, and for example, based on image information obtained by an imaging element such as a CCD solid-state imaging element, the focal position of the imaging lens is determined. The present invention relates to an automatic focusing apparatus and method for adjusting and obtaining a desired in-focus state.
[0002]
[Prior art]
In a video camera that captures the object scene and outputs the captured image, the image is captured while moving the focusing lens of the imaging lens, a high-frequency component is extracted from the output image signal, and an evaluation value for focusing is calculated. When the evaluation value increases as a result of the focusing lens movement, the movement in the same direction is continued. On the other hand, when the evaluation value decreases, the lens is moved in the reverse direction repeatedly until the evaluation value is maximized. A so-called hill-climbing servo system is used to drive the focusing lens.
[0003]
For example, Japanese Patent No. 2677036 discloses a hill-climbing autofocus system that continues a focusing operation without determining that the focal point is in focus even if a false mountain occurs in the focus evaluation value during the focusing operation in hill-climbing AF. ing. The focus control in this method is to start the focus lens in an arbitrary direction, continue to drive in the same direction if the evaluation value increases, and drive in the opposite direction if the evaluation value increases, from the increasing direction of the evaluation value to the decreasing direction. It is detected and stored that the top of the evaluation value has been passed due to a change in the value, the focusing lens is returned to the stored in-focus position, the change state of the evaluation value is monitored, and the focus is adjusted as necessary when a change occurs. This is due to the algorithm that resumes control. In this method, when there is an edge component above the threshold when the peak of the focus evaluation value appears, it is judged as a true mountain, and if there is an edge component above the threshold even if the evaluation value varies, The focusing operation is stopped unless the subject is out of focus.
[0004]
[Problems to be solved by the invention]
However, in the conventional hill-climbing servo system, the focus lens is moved while always recognizing the increase and decrease in the evaluation value, so it takes a lot of time to obtain a focusing result by hunting and the processing load is heavy. There was a problem. In addition, since this method moves the focus lens to the in-focus position, it can be effectively applied to a video camera that continuously captures a subject image and outputs it as a moving image. For example, it responds to the release switch being turned on. In a still camera that needs to be focused instantaneously in accordance with a shooting command, there is a problem that a time lag occurs until the focus lens is controlled at the in-focus position due to the extra time for this tracking. Therefore, there is a high possibility that a photo opportunity will be missed, and it cannot be applied to a still camera as it is.
[0005]
Therefore, in a still camera, in order to perform quick focusing, for example, the focusing lens is scanned so as to focus on the entire region from the infinity position to the close position, and based on image information of a plurality of frames captured during that time. An evaluation value for focusing is obtained, and shooting and recording are performed by moving the focusing lens to a position where the evaluation value is maximized. In this case, the longer the focal length of the imaging lens, the shallower the depth of field.Therefore, in order to obtain a highly accurate focusing result, it is necessary to provide many evaluation value calculation points and increase the number of focusing stages. For this reason, there is a problem that it takes much time for focusing and a heavy processing load.
[0006]
The present invention eliminates such disadvantages of the prior art, and reduces the burden on the apparatus, for example, even on the long focal length side, and provides an automatic focusing apparatus capable of obtaining a highly accurate focusing result in a shorter time. It aims to provide a method.
[0007]
[Means for Solving the Problems]
In order to solve the above-described problem, the present invention provides an automatic focus adjustment apparatus that adjusts the focal position of an imaging lens that forms an image of a field of field on an imaging unit based on an imaging signal output from the imaging unit. This apparatus extracts a contrast component in a predetermined focusing area of a scene from a moving means for moving a lens for performing focus adjustment within the focus adjustment area, and an image signal output from the image sensor, and the contrast component. Evaluation value calculation means for calculating an evaluation value corresponding to each lens movement position, and a control means for controlling the movement means by obtaining the position of the lens focused on the subject in the focusing area based on the evaluation value. And a control means for counting the number of times the evaluation value continuously decreases when the lens is moved; First evaluation means for determining that the maximum value has been obtained based on the number of reductions, and the evaluation value is a predetermined value based on the maximum value of the evaluation value and the evaluation value obtained at another movement position of the lens. A second determination means for determining that there is the above, an interruption means for controlling the movement means according to the determination results of the first and second determination means, stopping the movement of the lens, and interrupting the acquisition of the evaluation value; When the process is interrupted by the means, it includes a focus determining means for moving the lens to a position where the maximum value of the evaluation value is obtained and bringing the lens into a focused state.
[0008]
In order to solve the above-described problem, the present invention provides an automatic focus adjustment method for adjusting the focus position of an imaging lens that forms an image of an object scene on the imaging unit based on an imaging signal output from the imaging unit. In this method, the moving step of moving the lens for performing the focus adjustment within the focus adjustment area, and extracting the contrast component in the predetermined focusing area of the object scene from the image signal output from the image sensor, An evaluation value calculating step for calculating an evaluation value corresponding to the contrast component for each moving position of the lens, and a control step for obtaining the position of the lens focused on the subject in the focusing area based on the evaluation value. The process includes a counting process that counts the number of times the evaluation value continuously decreases when the lens is moved, and the maximum value in the object field of the evaluation values is obtained. It is determined that the evaluation value is equal to or greater than a predetermined value based on a first determination step of determining that this is based on the number of reductions, and an evaluation value obtained at the maximum value of the evaluation value and the other movement position of the lens According to the second determination step for determining, and the determination results in the first and second determination steps, the movement of the lens is stopped, the interruption step for interrupting the acquisition of the evaluation value, and the processing is interrupted by the interruption step. And a focus determining step of moving the lens to a position where the maximum evaluation value is obtained to bring it into focus.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Next, an embodiment of a digital camera to which the present invention is applied will be described in detail with reference to the accompanying drawings. Referring to FIG. 1, a digital camera 10 having an autofocus function is shown. This camera 10 is a still camera having a movie function that continuously captures an object scene by an imaging lens 14, an aperture 16 and an imaging device (CCD) 18 provided in the imaging unit 12. A finder function at the time of imaging is provided by displaying on a liquid crystal monitor device provided in the display unit 20. When the switch S1 is turned on with the first stroke of the release button 22, the imaging lens is driven to perform focus adjustment. When the captured image is in focus and the switch S2 is turned on with the second stroke of the release button 22. The process proceeds to shooting / recording processing in the still image mode. A still image signal of one frame imaged by the imaging unit 12 is input to the recording processing unit 32 through the signal processing circuit 24, the A / D conversion circuit 26, the buffer memory 28, and the compression processing circuit 30, and is sent to a pair of 10 cameras. It is recorded on a memory card 34 that is detachably loaded.
[0010]
The image pickup lens 14 arranged in the image pickup unit 12 uses a zoom lens having a variator lens system in which the focal length is continuously variable from 7 mm on the short focus side to 21 mm on the long focus side. This is an internal focusing lens having a focusing lens system for adjusting. The imaging lens 12 may be a mechanism that adjusts the focal position by extending the entire lens or a part thereof. As shown in FIG. 4, for example, when the focal length is 7 mm, this imaging lens has a focusing lens moving distance from infinity to the closest distance, that is, the focus area is 81.7 μm, and the focusing distance when the focal length is 21 mm. Is 735 μm. The focal length and focal position of the imaging lens 14 are adjusted by the rotation of a motor or the like, and a drive signal for driving the motor is supplied from the drive circuit 36 shown in FIG.
[0011]
A diaphragm 16 for adjusting the amount of incident light is disposed in the afocal portion behind the imaging lens 14, and this diaphragm amount is adjusted by a control signal supplied from the drive circuit 36. An imaging device (CCD) 18 is disposed on the focal plane at the back of the diaphragm 16, and the imaging device 18 includes, for example, an R, G, B color filter and a microlens disposed on the imaging surface. The image pickup pixel is read out by an output amplifier as an electrical signal by a configuration including a photodiode that converts the optical image formed on the light into a charge and a charge coupled device (CCD) that transfers the charge in the vertical and horizontal scanning directions. Output. The image sensor 18 in the present embodiment has a photodiode constituting 800,000 to 1.5 million pixels, and outputs image signals of all pixels and thinned pixels in accordance with a drive signal supplied from the CCD drive circuit 38. In the moving image mode that outputs thinned pixels, the image sensor 18 transfers high-speed signal output even with a high pixel density image sensor by transferring the pixels by thinning out each half pixel in the horizontal and vertical directions, for example. To do.
[0012]
FIG. 2 conceptually shows the screen formation by the output signal of the image sensor. In the still image mode in which all pixels are read out, the screen 200 by effective pixels among the output signals of the image signal is, for example, in the horizontal direction. It is formed with 1280 pixels and 960 pixels in the vertical direction. In the moving image mode, an image signal representing the screen 202 formed with 640 × 480 pixels in the horizontal and vertical directions is output for each frame. When the power is turned on and the monitor display function is enabled, the image signal is thinned out and read out from the image sensor 18 until the second stroke of the release button 22 prior to actual shooting and recording. When the release button 22 is pressed and a first stroke is generated and the switch S1 is connected to the ground G, a plurality of frames of images corresponding to the number of focusing stages (steps) to be described later are supplied. The focusing of the imaging lens 14 is adjusted based on the signal. When the release button 22 is pressed to generate a second stroke, the switch S2 is turned on and connected to the ground G, an image signal of one frame is read out from the image sensor 18 and this still image is read. After the signal processing and compression encoding processing, the encoded data is recorded on the memory card 34.
[0013]
The output of the image sensor 18 constitutes the output of the imaging unit 12 and is connected to the signal processing circuit 24. The signal processing circuit 24 performs processing for correcting and adjusting a signal level related to brightness, color, gradation, and the like on the input image signal. Further, the signal processing circuit 24 has a function of interpolating each pixel of the RGB image signal in the still image mode, and further forming a YC format image signal composed of luminance and color components. The output of the signal processing circuit 24 is connected to an analog / digital (A / D) conversion circuit 26. The A / D conversion circuit 26 converts the image signal into, for example, 8- to 10-bit digital image data and outputs it.
[0014]
One of the outputs of the A / D conversion circuit 26 is connected to a display unit 20 having a liquid crystal panel for displaying input image data as a color image, and the other output is connected to a buffer memory 28. The buffer memory 28 is a line buffer that temporarily stores and outputs image data. In the present embodiment, image data is output at the output timing required by the evaluation value calculation circuit 42 in the moving image mode. The buffer memory 28 outputs YC image data at a timing required by the compression processing circuit 30 in the still image mode.
[0015]
The compression processing circuit 30 is an encoding circuit that compresses and encodes image data input in the still image mode in a predetermined format according to the recording medium 34 loaded in the recording processing unit 32. The compression processing circuit 30 in this embodiment performs two-dimensional DCT processing on the image data for each block of 8 × 8 pixels, and performs the Huffman coding of the processed transform coefficient, for example, by the compression coding processing such as the JPEG method, by the control unit 40. The image data is encoded at a compression rate set from The output of the compression processing circuit 30 is connected to the recording processing unit 32, and the recording processing unit 30 writes the encoded image data and its attached information to the memory card 34, and reads the information recorded on the memory card 34. It has a recording / reading function.
[0016]
When the first stroke of the release button 22 is pressed, the evaluation value acquisition circuit 42 samples G component data in the image signal input to the moving image mode under the control of the control unit 40, and within the focusing area. Is a circuit that extracts high frequency components of the image and obtains contrast information of the subject image. This contrast information is obtained by dividing the imaging range (field of view) of 480 × 640 pixels shown in FIG. 2 into a plurality of blocks 204, and a portion in one or a plurality of blocks is set as a focusing area 206, and G corresponding to the area is recorded. The evaluation value for controlling the in-focus position of the imaging lens 14 calculated based on the component image data, and the calculated evaluation value is output to the control unit 40. As the focusing area 206, a plurality of areas can be set at arbitrary positions under the control of the control unit 40. In this embodiment, four blocks in the central portion of the screen 202 are shown in FIG. It is said. The evaluation value acquisition circuit 42 has a function of determining the brightness of the entire object scene and the focusing area 206 based on the input image data, and information indicating the detected brightness is controlled by the control unit. 40, and gain control is performed for exposure control such as shutter speed and aperture value in the imaging unit 12 and signal amplification in the signal processing circuit 24.
[0017]
The control unit 40 that controls each unit detects the operation state of the release button 22 and switches between the moving image mode and the still image mode, and each unit of the camera 10 operates according to the set operation mode. For example, the CCD drive circuit 38 drives the image sensor 18 by all-pixel reading or thinning-out reading according to the set mode. Further, the control unit 40 controls the shutter speed and the aperture value in the imaging unit 12 according to the luminance information supplied from the evaluation value acquisition circuit 42. The CCD drive circuit 38 generates a drive signal that shifts the electric charge photoelectrically converted by the image sensor 18 to the vertical transfer path according to the control signal, and outputs the image signal captured at the exposure time according to the control signal. An electronic shutter control function for outputting from the image sensor is provided.
[0018]
In addition, the control unit 40 generates a processing parameter when the signal processing circuit 24 performs signal processing, and performs signal processing according to the parameter. The control unit 40 controls, for example, contour enhancement processing, color balance correction, gamma correction processing, and the like. Further, the control unit 40 has a function of setting the compression rate of the compression encoding process in the compression processing circuit 30, for example, image data at a compression rate designated by the operator according to the storage capacity of the memory card 34. Has a function of compressing and encoding. When storing the encoded image data in the memory card 34, the image processing unit 32 is supplied with information attached to the image, and the shooting date, time, exposure, etc. are stored in the area corresponding to the recording format of the memory card 34. Shooting information, compression rate and compression format information, and print information for print designation when a recorded image is printed.
[0019]
The control unit 40 also has a function of designating the focus area 206 for the evaluation value calculation circuit 42. The control unit 40 sets the focus area 206 according to the shooting situation and the operator's designation in the evaluation value acquisition circuit 42, and based on the evaluation value for automatic focus adjustment obtained in the set area 206, the imaging lens 12 Control the focal position of the. Specifically, the first stroke of the release button 22 supplies a control signal for driving an AF search that moves the focusing lens from the infinity to the closest direction in the focus area to the drive circuit 36, and an evaluation value acquisition circuit Based on the evaluation value obtained from 42, it is determined whether or not the movement is interrupted. If it is determined to be interrupted, a valid evaluation value has already been obtained, and a control signal for stopping the movement of the focusing lens is supplied to the drive circuit 36. Then, the control unit 40 moves the focusing lens backward to the place where the evaluation value indicating the maximum value is obtained, and holds the lens in that position.
[0020]
As shown in FIGS. 3 and 4, the control unit 40 sets an AF step width 302 that indicates the width of the focus lens position for calculating the evaluation value in accordance with the focus area 300 that changes in accordance with the focal length of the imaging lens 14. The number of focus steps 304 corresponding to the step width 302 is determined and determined. As shown in FIG. 3, the focus area 300 at each focal length may be equally divided by the step width 302 as shown in FIG. 3, but the step width 302 on the near distance (closest limit) side is made shorter than the infinity side. Thus, the evaluation value calculation points on the short distance side may be increased so as to increase the focus accuracy. The imaging lens 14 in the present embodiment is a zoom lens with a variable focal length. However, the imaging lens 14 is not limited to this, and is, for example, a single focus lens lined up from the short focus side to the long focus side. It may be a single focus lens that can be detachably attached to the camera body 10. In this case, the focal length and brightness (F value) of each single focus lens are transmitted to the control unit 40 of the main body 10 electrically or mechanically.
[0021]
In the drive circuit 36, in response to the control signal supplied from the control unit 40, the position of the focusing lens so that the focus position of the imaging lens 14 on the object field moves in a fixed direction from the infinity position to the closest position. Move the to perform AF search. In this embodiment, an AF search is performed to obtain an evaluation value by moving the focusing lens so that the focal point is focused from the infinity position to the closest position. However, the present invention is not limited to this, and conversely, for example, depending on the configuration of the imaging lens 14 The lens may be started to move from the closest position to the infinite position. In this case, the direction of lens movement may be switched according to whether the frequency of photographing with priority on the long-distance side or the short-distance side is high according to the photographing purpose of the photographer and the subject. For example, when macro shooting (short-distance shooting) is frequently used, if the focusing value is calculated by moving the focusing lens from the close distance side to the long distance side and the interruption is determined, the focusing lens is moved to the infinity side by interruption processing. The in-focus state can be obtained without driving. Further, when an evaluation value is obtained by moving the focusing lens so as to focus on the closest position from the infinite edge side as in this embodiment, for example, on the short distance side from 0.5 to 1.5, or about 2 meters. Since the lens position for focusing can be obtained without moving the focusing lens so as to form a focal point, it is suitable for photographing a subject at a middle distance or a long distance. As described above, since the focus limit function in the automatic focus adjustment function is provided in the present embodiment, it is possible to perform quick shooting, and the limit position is not fixed, and can be variably set according to captured image data. That is, the automatic focus adjustment is speeded up by interrupting the lens movement in an appropriate state in accordance with the photographing situation.
[0022]
The control unit 40 finally moves the focusing lens to the place where the maximum value is obtained based on the evaluation values created at the positions of the plurality of focus stages according to the focal length. Therefore, the control unit 40 has a function of recognizing the current focal length in the imaging lens 14, and determines the number of focus stages according to the focal length. The number of focus stages is supplied to the evaluation value acquisition circuit 42. The acquisition circuit 42 calculates evaluation values from image data input at a timing corresponding to the number of stages. The control unit 40 recognizes the maximum value and the minimum value of the evaluation values obtained by the acquisition circuit 42 at each focus stage.
[0023]
The control unit 40 has a function of determining how many times the evaluation value calculated at each focus stage has been continuously reduced every time the focus stage is changed. The control unit 40 counts the number of continuous decreases. When Interruption determination value C for interrupting this automatic focus adjustment (CCDAF) The In comparison, the evaluation value acquisition at each focus stage is continued until the number of consecutive decreases exceeds the interruption determination value. Conversely, when the number of consecutive decreases exceeds the interruption determination value C, the control unit 40 further calculates the difference between the maximum value and the minimum value of the evaluation values obtained so far, and further calculates the difference and a predetermined threshold value. The evaluation value is compared with K to determine whether there is an effective level difference. As a result, it is determined whether or not the subject in the focus area 206 has sufficient contrast for performing focus adjustment. Until the difference between the maximum and minimum exceeds the threshold value K, the evaluation value acquisition at each focus stage is continued. When the difference exceeds the threshold value K, the focus lens movement and evaluation value acquisition processing is interrupted. In this way, the control unit 40 detects the difference in evaluation value obtained during the movement of the focusing lens, the evaluation value continuously decreases by the number of interruption determination values, and a contrast of a predetermined level or more is detected. Then, it is determined that the maximum evaluation value has already been detected, the movement of the focusing lens is interrupted, and the evaluation value calculation is further terminated. Immediately thereafter, the control unit 40 moves the focusing lens to the position of the focusing stage where the maximum evaluation value is obtained, and maintains the focused state.
[0024]
Note that the control unit 40 in the present embodiment recognizes the minimum value of the evaluation value and calculates the difference between the maximum value and the minimum value, but is not limited to this, for example, the number of consecutive decreases is the interruption determination value. The evaluation value acquired at the lens position when this interruption determination is satisfied beyond C may be used instead of the minimum value. In other words, the control unit 40 may determine the contrast in the focus area based on the difference between the evaluation value obtained at a movement position other than the lens position where the maximum value is acquired and the maximum value.
[0025]
In the present embodiment, the control unit 40 recognizes that a mountain has already been detected when the evaluation value decreases by a predetermined number of times. Since the number of determinations (CCDAF interruption determination value) for determining the number of reductions changes according to the focal length of the imaging lens 14, the control unit 40 determines with reference to the stored table. In addition, the number of focus steps corresponding to the step width set in the focus area at each focal length is set so as to increase as the focal length changes from the short focus side to the long focus side. It is set to improve the focusing accuracy on the long focal depth side where the depth is shallow.
[0026]
Further, as shown in FIG. 4, the number of determinations (CCDAF interruption determination value C) in this embodiment is the same numerical value “4” as the number of focus steps on the short focus side or a value “4” (about 100%) close to it. It is set so that the interruption process is not substantially performed. Further, the determination number C becomes “4,4,5,6,7,8” as it approaches the long focus side, and is about 50 to 30 of the number of focusing stages “8,11,13,16,19,22”. Set to an integer value of%. This is because the focus area is short and the number of focus steps is small on the short focus side, so the focus adjustment time does not take much, and conversely, the focus area is long and the number of focus steps is large on the long focus side. This is because the focus adjustment time is required. The number C of determinations is preferably about 20 to 50% of the number of focus steps in the entire focusing area. For example, as shown in FIG. 4, when the focal length is 22 mm, the CCDAF interruption determination value is “8” with respect to the number of focus steps of 22. In this case, the number of times the evaluation value continuously decreases is 8 times. Then, it is recognized that a mountain of evaluation values has already been detected. Here, the driving of the focusing lens is stopped and the focusing lens is driven to the place where the maximum evaluation value is obtained. In this case, the position where each evaluation value is obtained may be stored in correspondence with the focus stage, and the focusing lens may be controlled at that storage position. For example, when the focal length is 22 mm, CCDAF interruption determination value "8" The position of the focusing lens may be moved backward by the same number of focus stages and returned. Further, when a plurality of values equal to the maximum value are generated, the rear pin state is prevented by setting the position corresponding to the evaluation value on the closest side to the position where the focusing lens should be moved.
[0027]
Note that when the luminance (brightness) of the object scene is low (dark) and low contrast, the control unit 40 uses a table with a CCDAF interruption determination value C larger than the value shown in FIG. If the subject has a high brightness and a high contrast, it is preferable to determine this and search for a table having a CCDAF interruption determination value C smaller than the value shown in FIG. When interruption is determined using a table configured with smaller values, the time and distance for moving the focusing lens can be further shortened.
[0028]
The control unit 40 permits photographing when the focusing lens is controlled to a position that satisfies the in-focus state, and when the second stroke is on depending on whether or not the second stroke of the release button 22 is pressed. Set the still image mode. In the still image mode, the image signal captured in the in-focus state is subjected to still image processing and compression encoded, and the encoded data is written to the memory card 34. Various types of information related to shooting and recording such as conditions and compression rate are output to the recording processing unit 32 and recorded on the memory card 34.
[0029]
The autofocus operation of the camera 10 having the above configuration will be described. When the release button 22 is pressed, the image sensor 18 is thinned out by the first stroke, and the image data of 640 × 480 pixels is sent to the evaluation value acquisition means 42. Entered. In the evaluation value acquisition means 42, an evaluation value in the focus area 206 is calculated with the partial area set by the control unit 40 in the screen represented by the image data as the focus area 206. In this embodiment, the imaging screen is divided into 64 blocks of equal area, and a plurality of blocks at locations corresponding to the imaging conditions, imaging conditions, and designation from the operator are set as the focusing area 206 for calculating the evaluation value. Next, in step 602, the current value of the focal length of the imaging lens 14 is acquired by the control unit 40, and the process proceeds to step 604 where it is confirmed that the position of the focus lens is at the infinity position. The focus lens is moved to the infinity position.
[0030]
When the initial value “0” is set in the register n of the control unit 40 in the subsequent step 606, the process proceeds to step 608 to calculate the evaluation value at the current focal position, and the calculated evaluation value is input to the control unit 40. Is done. In the control unit 40, the evaluation value at this focus stage is stored and stored, and the process proceeds to the interruption determination process shown in FIG.
[0031]
In the interruption determination process in step 700, a table value C_TABLE corresponding to the current focal length [ZOOMPOS] is set in the register C. In this case, the value 4 is set in the register C when the focal length is 7 mm to 13 mm, the value 5 is set to 13 mm and within 15 mm, the value 6 is set to 15 mm and 17 mm, and the values 7 and 19 mm are set to 17 mm and 19 mm. The value 8 is set in the register C within 21 mm.
[0032]
Next, the routine proceeds to step 702, where it is determined whether or not the evaluation value calculated by the evaluation value acquisition unit 42 has decreased continuously by the number of times set in the register C. Here, if it is determined that there is no continuous decrease, the continuation of the focus adjustment process is determined in step 704 and the process proceeds to step 612 shown in FIG.
[0033]
In step 612, it is controlled whether or not to continue the process according to the determination result in the interruption determination. In the case of continuation, the process proceeds to step 614, where it is confirmed whether the evaluation value at the last position of the focus lens, that is, the closest position has been calculated, and the evaluation value at the closest position has not yet been obtained. If so, go to Step 616. In step 616, the focus lens is moved by one AF step corresponding to the focal length at that time, and the process returns to step 608. In step 608, an evaluation value is calculated from image data of frames with different focal positions, and based on this, the processing after this step is repeated. If the evaluation value is obtained at the final position of the focusing lens in step 614, or if it is interrupted in step 612, the process proceeds to step 618.
[0034]
On the other hand, in step 702 shown in FIG. 7, when a continuous decrease in the evaluation value is detected for the number of times set in the register C, the process proceeds to step 706 and 1 is added to the value of the register n. In 708, it is determined whether or not the value of the register n exceeds the value of the register C. If the value of the register n exceeds the value of the register C, the process proceeds to step 710. Otherwise, it is determined to continue in step 704.
[0035]
Proceeding to step 710, it is determined whether the difference between the calculated maximum value (AFmax) and minimum value (AFmin) is greater than a predetermined value K. Here, if the difference between the evaluation values is larger than the value K, it indicates that there is a predetermined contrast. Therefore, the interruption of the focus adjustment is determined in step 712, and the process proceeds to step 618 shown in FIG. If the difference between the evaluation values is not greater than the value K, the process proceeds to step 704 as described above, and the continuation of the process is determined.
[0036]
When the process proceeds to the interruption process in step 612, the focusing lens is moved to the place where the maximum evaluation value is obtained in step 618, and is held at the moving position until the first stroke state is released. At the same time, the operation of the evaluation value acquisition circuit 42 is stopped, the automatic focus adjustment process is terminated, and the routine proceeds to step 620, where the photographing record permission is obtained. When the photographing / recording permission is obtained, the operation state of the release button 22 is confirmed. If the second stroke has already occurred or has occurred, the mode is shifted to the still image mode. In the still image mode, the object scene is imaged according to the current focal length and focal position, and the processed image data is compression-encoded and written to the memory card 34 together with the attached information. When this imaging process is completed, the focusing lens of the imaging lens 14 is returned to the infinity position to prepare for the subsequent shooting. If the release button 22 is continuously pressed for a predetermined time or longer after one frame is shot, it is assumed that there are new first and second strokes again, and automatic focus adjustment is resumed and repeated. .
[0037]
When these states are described according to the change state of the evaluation value shown in FIG. 5, as shown in the same figure, the evaluation value 500 initially obtained at the infinity position increases with the movement of the focusing lens. The lens moves further even after the maximum value 502 is exceeded. Then, an evaluation value 504 is obtained when the evaluation value decreases and the number of times of reduction continues six times. When the difference between the maximum evaluation value 502 and the evaluation value 500 is larger than the set value K, the processing is interrupted. Is determined. Thereafter, the focusing lens is controlled to the position of the focus stage 506 where the evaluation value 502 is obtained, and the photographing permission is lowered from the control unit 40. In this example, the evaluation value is generally ideally described, but even when the contrast difference is low, there is no peak at the center of the focus area 300 and only one side (shown in the figure). It works normally even when the right or left) is high and the other is low. In this embodiment, since the focusing lens starts to move from the infinite edge side, the effect of interruption increases as the distance is in focus. Conversely, when starting to move the focusing lens from the closest distance side, the effect of the interruption increases as the focus is in the near distance side.
[0038]
As described above, in the above embodiment, when automatic focus adjustment is performed, as the focal length of the imaging lens 14 becomes longer, the focusing lens movement is set relatively earlier in the focus area. Even if the focusing area is long and the number of focusing steps that require evaluation values for in-focus determination is large, the lens movement is interrupted when it is determined that the maximum evaluation value has already been obtained. Information necessary for focus adjustment can be obtained without scanning the entire focus area at the time of adjustment, and the focusing lens is accurately controlled to the in-focus position. As a result, focusing can be performed more quickly than before, the time lag for obtaining a still image is reduced, and the processing load related to power consumption and control associated with lens driving is reduced. For example, even if it is a short focus lens, if the number of evaluation value points is increased to increase the number of focusing steps and the focusing accuracy is increased, a short-distance shooting with a shallow depth of field and a long focus lens are used. This is especially effective when
[0039]
【The invention's effect】
As described above, according to the present invention, when obtaining an evaluation value by moving a lens for focusing, if it is determined that an effective evaluation value has been obtained and the maximum value has already been obtained, lens movement and evaluation value acquisition are performed. The process is interrupted, and it is recognized that the maximum evaluation value has already been obtained, and the lens is driven to that position. Therefore, the lens is not driven over the entire focus area, and an accurate in-focus position can be obtained. Can do. Further, by interrupting the lens movement, the processing burden and control burden are reduced, and further the power consumption is reduced. Therefore, an automatic focus adjustment device suitable for a digital camera or the like that is carried around is provided. .
[0040]
In this case, even when the focus adjustment accuracy is increased by increasing the number of focus stages as evaluation value acquisition points, the focus adjustment is performed according to the evaluation value in the focusing area obtained based on the imaging signal. In addition, since the focusing lens movement process is interrupted depending on the state of the evaluation value, the time required for focus adjustment is improved even when performing such high-performance focus adjustment. Even if it is shortened.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a digital camera to which the present invention is applied.
FIG. 2 is a diagram conceptually illustrating an imaging screen and a focusing area in a still image mode and a moving image mode.
FIG. 3 is a diagram showing a change in step width according to zooming and focusing positions.
4 is a table showing an example of a table in which values serving as a basis of the diagram shown in FIG. 3 are stored. FIG.
FIG. 5 is a graph showing an example of an evaluation value that changes as the focusing lens moves.
FIG. 6 is a flowchart showing an automatic focus adjustment operation in the embodiment.
7 is a flowchart showing details of interruption determination processing in the operation shown in FIG. 6;
[Explanation of symbols]
10 Digital camera
12 Imaging unit
14 Imaging lens
18 Image sensor (CCD)
40 Control unit (CPU)
42 Evaluation value acquisition circuit

Claims (14)

撮像手段から出力される撮像信号に基づいて、該撮像手段に被写界の像を結像させる撮像レンズの焦点位置を調節する自動焦点調節装置において、該装置は、
焦点調節を行なうためのレンズを焦点調節領域内で移動させる移動手段と、
前記撮像素子から出力される画像信号から前記被写界のうち所定のフォーカシング領域におけるコントラスト成分を抽出し、該コントラスト成分に応じた評価値を前記レンズの各移動位置ごとに算出する評価値算出手段と、
前記フォーカシング領域における被写体に対し合焦する前記レンズの位置を前記評価値に基づいて求め、前記移動手段を制御する制御手段とを含み
該制御手段は、前記レンズを移動させた際に前記評価値が連続して減少する連続減少回数を計数する計数手段と、
前記評価値のうち被写界における最大値が得られたことを前記減少回数に基づいて判定する第1の判定手段と、
前記評価値の最大値と前記レンズの他の移動位置にて得られた評価値とに基づいて前記評価値が所定値以上あることを判定する第2の判定手段と、
前記第1および第2の判定手段の判定結果に従って前記移動手段を制御し、前記レンズの移動を停止させ、前記評価値の取得を中断する中断手段と、
該中断手段によって処理が中断されると、前記評価値の最大値が得られた位置に前記移動手段によって前記レンズを移動させて合焦状態とする合焦決定手段とを含み、
前記制御手段は、前記レンズが移動される焦点調節領域内における評価値算出位置を規定するためのフォーカス段数値と、前記連続減少回数に応じて前記評価値算出を中断するか否か判定するための中断判定値とを格納するテーブルを含み、前記第1の判定手段は、前記連続減少回数と前記中断判定値とを比較して、該連続減少回数が該中断判定値を超えた場合に前記最大値が得られたことを判定することを特徴とする自動焦点調節装置。
In the automatic focus adjustment device that adjusts the focal position of the imaging lens that forms an image of the object scene on the imaging unit based on the imaging signal output from the imaging unit, the device includes:
Moving means for moving a lens for performing focus adjustment within the focus adjustment area;
Evaluation value calculation means for extracting a contrast component in a predetermined focusing area of the object scene from the image signal output from the image sensor and calculating an evaluation value corresponding to the contrast component for each moving position of the lens When,
Determined based on a position of the lens for focusing with respect to the subject in the focusing region in the evaluation value, and a control means for controlling said moving means,
The control means is a counting means for counting the number of consecutive reductions in which the evaluation value continuously decreases when the lens is moved;
First determination means for determining that the maximum value in the object scene is obtained among the evaluation values based on the number of times of decrease;
Second determination means for determining that the evaluation value is equal to or greater than a predetermined value based on a maximum value of the evaluation value and an evaluation value obtained at another movement position of the lens;
Interrupting means for controlling the moving means according to the determination results of the first and second determining means, stopping the movement of the lens, and interrupting the acquisition of the evaluation value;
When the process is interrupted by the interrupting means, seen including a focusing determination unit to focus state by moving the lens by said moving means to a position where the maximum value of the evaluation value is obtained,
The control means determines whether or not to interrupt the evaluation value calculation according to the focus step value for defining the evaluation value calculation position in the focus adjustment region to which the lens is moved, and the number of times of continuous decrease. And a table for storing the interruption determination value, wherein the first determination means compares the number of consecutive reductions with the interruption determination value, and when the number of consecutive reductions exceeds the interruption determination value, An automatic focusing apparatus characterized by determining that a maximum value has been obtained .
請求項に記載の自動焦点調節装置において、前記撮像レンズは、焦点距離が可変のズームレンズであり、前記テーブルには、前記フォーカス段数値と中断判定値とが該撮像レンズの焦点距離に応じて複数格納されており、
前記第1の判定手段は、現在の焦点距離に応じたフォーカス段数値および中断判定値に基づいて前記最大値が取得されていることを判定することを特徴とする自動焦点調節装置。
2. The automatic focus adjustment apparatus according to claim 1 , wherein the imaging lens is a zoom lens having a variable focal length, and the focus stage value and the interruption determination value correspond to the focal length of the imaging lens in the table. Are stored,
The automatic determination apparatus according to claim 1, wherein the first determination unit determines that the maximum value is acquired based on a focus step value and an interruption determination value corresponding to a current focal length.
請求項に記載の自動焦点調節装置において、前記フォーカス段数値は、前記焦点距離が長くなるほど多くの段数となる値が設定されていることを特徴とする自動焦点調節装置。 3. The automatic focus adjustment apparatus according to claim 2 , wherein the focus step value is set to a value that increases as the focal length increases. 請求項に記載の自動焦点調節装置において、前記中断判定値は、前記撮像レンズ長焦点側にて前記中断処理を行なうように設定されていることを特徴とする自動焦点調節装置。 3. The automatic focus adjustment apparatus according to claim 2 , wherein the interruption determination value is set so that the interruption process is performed on a long focal side of the imaging lens. 請求項に記載の自動焦点調節装置において、前記テーブルには、前記撮像レンズの前記焦点調節領域を所定のステップ幅にて分割するステップ幅情報が格納され、
前記評価値算出手段は、前記ステップ幅情報に応じた前記レンズの各位置にて撮像された画像データに基づいて前記評価値を算出することを特徴とする自動焦点調節装置。
The automatic focus adjustment apparatus according to claim 1 , wherein step width information for dividing the focus adjustment area of the imaging lens by a predetermined step width is stored in the table.
The automatic focus adjustment apparatus, wherein the evaluation value calculation means calculates the evaluation value based on image data captured at each position of the lens according to the step width information.
請求項に記載の自動焦点調節装置において、前記撮像レンズは、焦点距離が可変のズームレンズであり、前記テーブルには、前記ステップ幅情報が該撮像レンズの焦点距離に応じて複数格納されており、前記評価値算出手段は、現在の焦点距離に応じたステップ幅情報に応じた前記レンズの位置にて撮像された画像データに基づいて前記評価値を算出することを特徴とする自動焦点調節装置。6. The automatic focus adjustment apparatus according to claim 5 , wherein the imaging lens is a zoom lens having a variable focal length, and a plurality of the step width information is stored in the table according to a focal length of the imaging lens. And the evaluation value calculation means calculates the evaluation value based on image data captured at the position of the lens according to step width information corresponding to a current focal length. apparatus. 請求項1に記載の自動焦点調節装置において、前記移動手段は、前記焦点調節領域内の一方の端から他方の端まで一定方向に移動させ、前記中断手段によりそのレンズ移動を停止し、前記合焦決定手段により、前記最大の評価値が得られた位置へ前記レンズを移動させることを特徴とする自動焦点調節装置。  2. The automatic focusing apparatus according to claim 1, wherein the moving means moves in one direction from one end to the other end in the focusing area, stops the lens movement by the interruption means, and An automatic focusing apparatus, wherein the lens is moved to a position where the maximum evaluation value is obtained by a focus determining means. 撮像手段から出力される撮像信号に基づいて、該撮像手段に被写界の像を結像させる撮像レンズの焦点位置を調節する自動焦点調節方法において、該方法は、
焦点調節を行なうためのレンズを焦点調節領域内で移動させる移動工程と、
前記撮像素子から出力される画像信号から前記被写界のうち所定のフォーカシング領域におけるコントラスト成分を抽出し、該コントラスト成分に応じた評価値を前記レンズの各移動位置ごとに算出する評価値算出工程と、
前記フォーカシング領域における被写体に対し合焦する前記レンズの位置を前記評価値に基づいて求める制御工程とを含み
該制御工程は、前記レンズを移動させた際に前記評価値が連続して減少する連続減少回数を計数する計数工程と、
前記評価値のうち被写界における最大値が得られたことを前記減少回数に基づいて判定する第1の判定工程と、
前記評価値の最大値と前記レンズの他の移動位置にて得られた評価値とに基づいて前記評価値が所定値以上あることを判定する第2の判定工程と、
前記第1および第2の判定工程における判定結果に従って、前記レンズの移動を停止させ、前記評価値の取得を中断する中断工程と、
該中断工程によって処理が中断されると、前記評価値の最大値が得られた位置に前記レンズを移動させて合焦状態とする合焦決定工程とを含み、
前記第1の判定工程は、前記レンズが移動される焦点調節領域内における評価値算出位置を規定するためのフォーカス段数値と、前記連続減少回数に応じて前記評価値算出を中断するか否か判定するための中断判定値とを格納するテーブルに基づいて、前記連続減少回数と前記中断判定値とを比較し、該連続減少回数が該中断判定値を超えた場合に前記最大値が得られたことを判定することを特徴とする自動焦点調節方法。
In an automatic focus adjustment method for adjusting a focal position of an imaging lens that forms an image of an object scene on the imaging unit based on an imaging signal output from the imaging unit, the method includes:
A moving step of moving a lens for focus adjustment within the focus adjustment area;
An evaluation value calculation step of extracting a contrast component in a predetermined focusing area from the image signal output from the image sensor and calculating an evaluation value corresponding to the contrast component for each moving position of the lens When,
The position of the lens for focusing with respect to the subject in the focusing area and a control step of determining, based on the evaluation value,
The control step includes a counting step of counting the number of consecutive decreases in which the evaluation value continuously decreases when the lens is moved;
A first determination step of determining, based on the number of reductions, that the maximum value in the object scene is obtained among the evaluation values;
A second determination step of determining that the evaluation value is equal to or greater than a predetermined value based on a maximum value of the evaluation value and an evaluation value obtained at another movement position of the lens;
According to the determination results in the first and second determination steps, stop the movement of the lens and interrupt the acquisition of the evaluation value,
When the processing by the interruption process is interrupted, viewed contains a focus determination step of the maximum value by moving the lens to the resulting position is focusing state of the evaluation value,
In the first determination step, whether or not the evaluation value calculation is interrupted according to a focus step value for defining an evaluation value calculation position in a focus adjustment region to which the lens is moved and the number of continuous reductions is determined. Based on a table storing interruption determination values for determination, the number of consecutive reductions is compared with the interruption determination value, and the maximum value is obtained when the number of consecutive reductions exceeds the interruption determination value. An automatic focusing method characterized by determining that
請求項に記載の自動焦点調節方法において、前記撮像レンズは、焦点距離が可変のズームレンズであり、前記テーブルには、前記フォーカス段数値と中断判定値とが該撮像レンズの焦点距離に応じて複数格納されており、前記第1の判定工程は、現在の焦点距離に応じたフォーカス段数値および中断判定値に基づいて前記最大値が取得されていることを判定することを特徴とする自動焦点調節方法。9. The automatic focus adjustment method according to claim 8 , wherein the imaging lens is a zoom lens having a variable focal length, and the focus stage value and the interruption determination value correspond to the focal length of the imaging lens in the table. And the first determination step determines that the maximum value is acquired based on a focus step value and an interruption determination value corresponding to a current focal length. Focus adjustment method. 請求項に記載の自動焦点調節方法において、前記フォーカス段数値は、前記焦点距離が長くなるほど多くの段数となる値が設定されていることを特徴とする自動焦点調節方法。10. The automatic focus adjustment method according to claim 9 , wherein the focus step value is set to a value that increases as the focal length increases. 請求項に記載の自動焦点調節方法において、前記中断判定値は、前記撮像レンズ長焦点側にて前記中断処理を行なうように設定されていることを特徴とする自動焦点調節装置。10. The automatic focus adjustment method according to claim 9 , wherein the interruption determination value is set so that the interruption process is performed on a long focal side of the imaging lens. 請求項記載の自動焦点調節方法において、前記テーブルには、前記撮像レンズの前記焦点調節領域を所定のステップ幅にて分割するステップ幅情報が格納され、前記評価値算出工程は、前記ステップ幅情報に応じた前記レンズの各位置にて撮像された画像データに基づいて前記評価値を算出することを特徴とする自動焦点調節方法。9. The automatic focus adjustment method according to claim 8 , wherein the table stores step width information for dividing the focus adjustment area of the imaging lens by a predetermined step width, and the evaluation value calculation step includes the step width. An automatic focus adjustment method characterized in that the evaluation value is calculated based on image data captured at each position of the lens according to information. 請求項12に記載の自動焦点調節方法において、前記テーブルには、前記ステップ幅情報が該撮像レンズの焦点距離に応じて複数格納されており、前記評価値算出工程は、現在の焦点距離に応じたステップ幅情報に応じた前記レンズの位置にて撮像された画像データに基づいて前記評価値を算出することを特徴とする自動焦点調節方法。An automatic focusing method according to claim 12, before Symbol table, the step width information are more stored according to the focal length of the imaging lens, the evaluation value calculating step, the current focal length An automatic focus adjustment method, wherein the evaluation value is calculated based on image data picked up at a position of the lens corresponding to the corresponding step width information. 請求項に記載の自動焦点調節方法において、前記移動工程は、前記焦点調節領域内の一方の端から他方の端まで一定方向に移動させ、前記中断工程によりそのレンズ移動を停止し、前記合焦決定工程により、前記最大の評価値が得られた位置へ前記レンズを移動させることを特徴とする自動焦点調節方法。9. The automatic focus adjustment method according to claim 8 , wherein the moving step moves in one direction from one end to the other end in the focus adjustment region, stops the lens movement in the interruption step, and An automatic focus adjustment method, wherein the lens is moved to a position where the maximum evaluation value is obtained by a focus determination step.
JP32793198A 1998-11-18 1998-11-18 Automatic focusing apparatus and method Expired - Lifetime JP4434345B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32793198A JP4434345B2 (en) 1998-11-18 1998-11-18 Automatic focusing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32793198A JP4434345B2 (en) 1998-11-18 1998-11-18 Automatic focusing apparatus and method

Publications (2)

Publication Number Publication Date
JP2000152065A JP2000152065A (en) 2000-05-30
JP4434345B2 true JP4434345B2 (en) 2010-03-17

Family

ID=18204615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32793198A Expired - Lifetime JP4434345B2 (en) 1998-11-18 1998-11-18 Automatic focusing apparatus and method

Country Status (1)

Country Link
JP (1) JP4434345B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4649715B2 (en) * 2000-08-31 2011-03-16 富士フイルム株式会社 Automatic focus adjustment device
KR100710378B1 (en) * 2001-01-11 2007-04-23 엘지전자 주식회사 How to adjust auto focus of video terminal
JP4689051B2 (en) * 2001-01-19 2011-05-25 キヤノン株式会社 Focus adjustment device
JP2005326681A (en) * 2004-05-14 2005-11-24 Pentax Corp Focus detection apparatus and focus detection method
KR100677229B1 (en) 2005-02-03 2007-02-02 엘지전자 주식회사 Camera auto focus control device and method
JP2007086596A (en) * 2005-09-26 2007-04-05 Pentax Corp camera
JP4125331B2 (en) 2006-06-07 2008-07-30 キヤノン株式会社 Imaging apparatus and control method thereof
JP2009027298A (en) 2007-07-18 2009-02-05 Ricoh Co Ltd IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP4574726B2 (en) * 2009-07-27 2010-11-04 キヤノン株式会社 Imaging apparatus and automatic focusing control method
JP5830310B2 (en) * 2011-09-01 2015-12-09 オリンパス株式会社 Microscope apparatus and focusing method of microscope apparatus
JP5943900B2 (en) * 2013-11-25 2016-07-05 キヤノン株式会社 Imaging device

Also Published As

Publication number Publication date
JP2000152065A (en) 2000-05-30

Similar Documents

Publication Publication Date Title
JP4591325B2 (en) Imaging apparatus and program
JP4674471B2 (en) Digital camera
US8184192B2 (en) Imaging apparatus that performs an object region detection processing and method for controlling the imaging apparatus
US20020114015A1 (en) Apparatus and method for controlling optical system
JP4543602B2 (en) camera
JP4533735B2 (en) Stereo imaging device
US8965192B2 (en) Automatic focusing apparatus
JP2011043789A (en) Imaging device and imaging method
JP2001298659A (en) Imaging device, image processing system, imaging method, and storage medium
JP4434345B2 (en) Automatic focusing apparatus and method
JP5614425B2 (en) Imaging apparatus and program
US7925149B2 (en) Photographing apparatus and method for fast photographing capability
JP2000155257A (en) Method and device for autofocusing
JP4645413B2 (en) Imaging device
JP2003114378A (en) camera
JP2002365518A (en) Camera lens focus state detector
JP5257969B2 (en) Focus position control device, focus position control method, focus position control program
JP4013026B2 (en) Electronic camera and image display method during automatic focus adjustment
JP2002044495A (en) Electronic camera
JP2004145022A (en) Digital camera
JP5320937B2 (en) Focus detection apparatus and imaging apparatus
JPH0933792A (en) Lens driving device and imaging device
JP3647168B2 (en) Imaging device
JP2003315665A (en) camera
JP2003114377A (en) camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061107

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070105

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070301

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070522

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080425

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091222

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130108

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130108

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140108

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term