[go: up one dir, main page]

JP2004334072A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2004334072A
JP2004334072A JP2003132671A JP2003132671A JP2004334072A JP 2004334072 A JP2004334072 A JP 2004334072A JP 2003132671 A JP2003132671 A JP 2003132671A JP 2003132671 A JP2003132671 A JP 2003132671A JP 2004334072 A JP2004334072 A JP 2004334072A
Authority
JP
Japan
Prior art keywords
focus
driving
lens
unit
setting
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
JP2003132671A
Other languages
Japanese (ja)
Inventor
Akihiro Uchida
亮宏 内田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2003132671A priority Critical patent/JP2004334072A/en
Publication of JP2004334072A publication Critical patent/JP2004334072A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus whose focus can efficiently be adjusted while unnecessary driving of a photography optical system is suppressed. <P>SOLUTION: When data showing the luminance in a focus area 94 of a photographed image are larger than a specified value, detailed search processing is carried out after rough search processing, but when not, only the detailed search process is performed without performing the rough search processing. Consequently, unnecessary lens driving can be suppressed to realize efficient focus adjustment. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、撮像装置に係り、特に、焦点調整をする機能を備えた撮像装置に関する。
【0002】
【従来の技術】
近年、撮像装置、特にデジタルカメラでは、CCD等の撮像素子を備えたものが数多く流通している。このようなデジタルカメラでは、撮影時には、CCDの受光面に被写体像が結像され、結像された被写体像は、CCDの各センサで入射光量に応じた量の信号電荷に変換される。そして、CCDに蓄積された信号電荷を画素毎に読み取って画像データに変換し、この画像データをメモリーカードなどの記録媒体に記録している。
【0003】
このデジタルカメラは、銀塩カメラと同様に、被写体との焦点調整を自動的に行うオートフォーカス機能を備えたものが知られている。オートフォーカス機能は、レンズを移動しながらCCD等の撮像素子上に被写体像を結像させる機能である。例えば、この機能を実施するものとして、レンズを予め定められた初期位置から移動させながら、コントラスト値が最大値となるレンズ位置を合焦位置とすることによってオートフォーカス処理を行うものがある。上記オートフォーカス処理では、コントラスト値の最大値により合焦位置を得る場合、被写体がある程度明るくないと、コントラスト値のSN比が低下し、合焦位置を特定することができない。このため、レンズ移動が繰り返し実行される場合がある。
【0004】
これを解消するため、映像信号の輝度信号の最大値と最小値の差から得られるコントラスト値が予め定めた閾値に対して小さい場合には、レンズの駆動を停止してオートフォーカス動作を禁止する技術が知られている(例えば、特許文献1参照。)。また、他の技術として、被写体が低輝度(ローコントラスト)であるか否かを判定し、低輝度である場合には測距不能であと判断してオートフォーカス処理を禁止する技術が知られている(例えば、特許文献2参照。)。
【0005】
【特許文献1】
特開平6−67081号公報 (第7頁―8頁、図1)
【特許文献2】
特開平8−43722号公報 (第5頁―6頁、図1)
【0006】
【発明が解決しようとする課題】
しかしながら、これらの技術では、閾値や判定基準を高く設定しなければならず、低コントラストの画像(映像信号)のときには、オートフォーカス自体を中断するので、オートフォーカス可能な低コントラストの画像のときには、合焦位置を得ることができなかった。
【0007】
本発明は、上記問題を解決すべく成されたものであり、撮影光学系の無駄な駆動を抑制しつつ、効率良く焦点調整することが可能な撮像装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために本発明の撮像装置は、被写体を測光する測光手段と、撮影光学系を予め定めた駆動量づつ駆動することによって、被写体に焦点調整して合焦位置を得る駆動手段と、前記焦点調整するときに前記予め定めた駆動量として、予め定めた第1駆動量または前記第1駆動量より小さい第2駆動量を設定する設定手段と、前記測光手段の測光値が予め定めた基準測光値未満のとき、前記設定手段における第1駆動量の設定を禁止する禁止手段と、を備えることを特徴としている。
【0009】
本発明の撮像装置は、駆動手段を備えており、撮影時には、結像レンズなどを含む撮影光学系を予め定めた駆動量づつ駆動することによって、被写体に焦点調整して合焦位置を得る。この焦点調整の一例には、撮影光学系を予め定められた初期位置から移動させた各撮影光学系の位置におけるコントラスト値や、明るさ等の算出がある。合焦位置は、例えば、算出されたコントラスト値や明るさ等が最大値となる撮影光学系の位置とすることにより得られる。この場合、コントラスト値の最大、最小の差や比、また、明るさの変動量を用いることができる。
【0010】
設定手段は、焦点調整するときに予め定めた駆動量を設定する。この予め定めた駆動量には、第1駆動量または第1駆動量より小さい第2駆動量がある。設定手段によって第1駆動量または第2駆動量が設定されると、駆動手段は、第1駆動量または第2駆動量づつ撮影光学系を駆動することによって焦点調整し、合焦位置を得る。このため、第2駆動量が設定されると、第1駆動量が設定された場合に比較して撮影光学系のより詳細な焦点調整がなされる。従って、例えば、被写体の明るさが充分でない等の場合には、第1駆動量による駆動では合焦位置が得られず、第2駆動量による駆動では合焦位置が得られる場合がある。
【0011】
測光手段は、被写体の明るさを測光するものであり、得られるデータには、輝度データ等がある。禁止手段は、測光手段の測光値が予め定めた基準測光値未満のときに、設定手段における第1駆動量の設定を禁止する。基準測光値は、第1の駆動量づつの撮影光学系の駆動によって合焦位置を得ることが可能な被写体の明るさの閾値である。
【0012】
このため、測光手段の測光値が予め定めた基準測光値未満のときには、設定手段は、第2駆動量のみ設定可能となり、第1駆動量づつの駆動は行われず、第2駆動量づつの駆動手段の駆動により合焦位置が得られる。従って、無駄なレンズ駆動を抑制することが可能となり、効率のよい焦点調整を行うことができる。
【0013】
前記駆動手段は、前記撮影光学系のレンズ位置を移動することで駆動することができる。このため、結像レンズ等の撮影光学系のレンズ位置を移動することによって被写体に焦点調整して合焦位置を得ることができるので、簡易な機構による焦点調整が可能となる。
【0014】
前記設定手段に前記第1駆動量を設定させかつ前記駆動手段に設定された第1駆動量で焦点調整させた後に、前記設定手段に前記第2駆動量を設定させかつ前記駆動手段に設定された第2駆動量で焦点調整させる制御手段を更に備えることができる。
【0015】
駆動手段による第1駆動量づつの駆動による焦点調整は、第2駆動量づつの駆動による焦点調整に比較して粗いものである。そこで、本発明の撮像装置では、焦点調整するときには、制御手段の制御によって、第1駆動量の駆動による粗い焦点調整によっておおよその合焦位置を得た後に、更に第2駆動量の駆動による詳細な焦点調整によって合焦位置を得ることができる。このため、効率よく精度の高い合焦位置を得ることが可能となる。
【0016】
前記測光手段は、前記被写体の一部を測光するための特定領域を設定する特定手段を備え、前記設定手段は、前記特定領域について測光するように前記測光手段に前記特定領域を更に設定することができる。特定手段によって被写体の一部を測光するための特定領域が設定されると、設定手段は、測光手段に特定領域について測光するように更に設定することができるので、測光手段は、特定領域を測光することができる。このため、例えば、ユーザの意図する特定領域について、測光することができるので、効率よく測光を行うことが可能となる。
【0017】
【発明の実施の形態】
本発明の撮像装置に係るデジタルカメラの実施の形態を図面に基づき説明する。
【0018】
図1には、本実施の形態に係るデジタルカメラ10の外観の正面図(A)及び背面図(B)の一例を示した。
【0019】
デジタルカメラ10の筐体11の正面には、被写体像を結像させるためのレンズ12、ファインダー窓14、ストロボ発光部16が設けられている。筐体11の上面には、シャッタボタン18及び電源スイッチ20が配設されている。また、筐体11の側面には、メモリカード24を装着するためのカードスロット26が設けられている。シャッタボタン18は2段階式に構成され、シャッタボタン18を軽く押して止める「半押し」の状態で自動ピント合わせ(オートフォーカス)及び自動露出処理(AE)が作動してオートフォーカスとAEをロックし、「半押し」から更に押し込む「全押し」の状態で撮影が実行される。電源スイッチ20は、ユーザがデジタルカメラ10の各部への電源電力の供給/供給停止の切り換えを行うときに操作するためのものである。
【0020】
デジタルカメラ10の筐体11の背面には、ファインダー28、LCD(液晶表示装置)30、ズームスイッチ32、十字ボタン34、メニューボタン38、実行ボタン40及びキャンセルボタン42が設けられている。LCD30は、撮影時に画角確認用の電子ファインダーとして使用することができるとともに、各種メニュー項目、ユーザによる各種選択項目、及び撮影画像等を表示するためのものである。
【0021】
メニューボタン38は、ユーザがLCD30へ各種メニュー項目を表示するときに操作するためのものである。十字ボタン34は、ユーザがLCD30に表示された各種メニューから任意のメニュー項目を選択する際に操作するためのものである。実行ボタン40は、ユーザが各項目の実行開始を指示するときに操作するためのものである。キャンセルボタン42は、ユーザが選択した項目の取消指示をする際に操作するためのものである。ズームスイッチ32は、上下方向に操作可能なレバースイッチで構成され、ユーザが望遠(TELE)方向へのズーム移動指示や、広角(WIDE)方向へのズーム移動指示を行うときに操作するためのものである。
【0022】
図2には、本実施の形態に係るデジタルカメラ10の主要構成をブロック図として示した。デジタルカメラ10は、レンズ12を備えている。レンズ12は、固定レンズ44、変倍レンズ46A、補正レンズ46B及びフォーカスレンズ48の4群型インナーフォーカス式ズームレンズで構成されている。変倍レンズ46Aと補正レンズ46Bは、図示せぬカム機構によって両者の位置関係が規制されながら光軸に沿って移動し、焦点距離を変更可能に設けられている。なお、本実施の形態では、変倍レンズ46Aと補正レンズ46Bから成る変倍光学系は、ズームレンズ46として機能する。
【0023】
レンズ12を通過した光は、絞り50により光量が調節された後、CCD52に入射される。CCD52の受光面には、フォトセンサが平面的に配列されており、レンズ12を介してCCD52の受光面に結像された被写体像は、各フォトセンサによって入射光量に応じた量の信号電荷に変換される。なお、CCD52は、シャッターゲートパルスのタイミングによって各フォトセンサの電荷蓄積時間(シャッタースピード)を制御する、いわゆる電子シャッター機能を有している。
【0024】
各フォトセンサに蓄積された信号電荷は、CCDドライバ54から与えられるパルスに基づいて信号電荷に応じた電圧信号(画像データ)として順次読み出される。CCD52から出力された画像データは、アナログ処理部56に送られる。アナログ処理部56は、サンプリングホールド回路、色分離回路、ゲイン調整回路等の信号処理回路を含み、このアナログ処理部56において、相関二重サンプリング(CDS)処理並びにR,G,Bの各色信号に色分離処理され、各色信号の信号レベルの調整が行われる。
【0025】
アナログ処理部56から出力された信号は、A/D変換器58によりデジタル信号に変換された後、メモリ60に格納される。タイミングジェネレータ(TG)62は、CPU64の指令に従ってCCDドライバ54、アナログ処理部56及びA/D変換器58に対してタイミング信号を与えており、このタイミング信号によって各回路の同期がとられる。
【0026】
メモリ60に格納されたデータは、バス66を介して信号処理部68に送られる。信号処理部68は、輝度・色差信号生成回路、ガンマ補正回路、シャープネス補正回路、コントラスト補正回路、ホワイトバランス補正回路等を含むデジタルシグナルプロセッサ(DSP)で構成された画像処理手段であり、CPU64からのコマンドに従って処理を実行する。
【0027】
信号処理部68に入力された画像データは、輝度信号(Y信号)及び色差信号(Cr、Cb 信号)に変換されるとともに、ガンマ補正等の所定の処理が施された後、メモリ60に格納される。撮影画像を表示出力する場合、メモリ60から画像データが読み出され、表示用メモリ70に転送される。表示用メモリ70に記憶されたデータは、表示用の所定方式の信号に変換された後、D/A変換器72を介して液晶モニタ(LCD)30に出力される。このため、当該画像データの画像内容がLCD30の画面上に表示される。
【0028】
ユーザがズームスイッチ32を操作すると、その指示信号がCPU64に入力され、CPU64はズームスイッチ32からの信号に基づいてズーム駆動部74を制御してズームレンズ46をテレ(TELE)方向又はワイド(WIDE)方向に移動させる。ズーム駆動部74は図示せぬモータを含み、該モータの駆動力によってズームレンズ46が駆動される。ズームレンズ46の位置(ズーム位置)は、ズーム位置センサ76によって検出され、該センサ76の検出信号はCPU64に入力される。
【0029】
同様に、フォーカス駆動部78は図示せぬモータを含み、該モータの駆動力によってフォーカスレンズ48が光軸に沿って前後動する。フォーカスレンズ48の位置(フォーカス位置)は、フォーカス位置センサ80によって検出され、該センサ80の検出信号はCPU64に入力される。
【0030】
シャッタボタン18による全押し指示がなされると、撮影開始指示(レリーズON)信号が発せられる。CPU64は、レリーズON信号を検知して記録用の撮像動作を実行する。すなわち、CPU64は、後述する評価値演算の結果に基づいてフォーカス駆動部78を制御してフォーカスレンズ48を合焦位置に移動させるとともに、絞り50の開口径やCCD52の電子シャッターを制御することにより露出制御を行う。また、CPU64は必要に応じてストロボ制御回路82にコマンドを送り、スロトボ発光部16の発光を制御する。
【0031】
このように、シャッタボタン18の押下操作に応じて、画像データの取り込みが開始される。画像データを圧縮記録するモードが選択されている場合、CPU64は圧縮伸張回路84にコマンドを送る。圧縮伸張回路84は、メモリ60に取り込まれた画像データをJPEGその他の所定の形式に従って圧縮する。
【0032】
圧縮された画像データは、カードインターフェース86を介してメモリカード24に記録される。非圧縮の画像データを記録するモード(非圧縮モード)が選択されている場合には、圧縮伸張回路84による圧縮処理は省略され、非圧縮のまま画像データがメモリカード24に記録される。
【0033】
CPU64は、各回路を統括制御する制御部である。CPU64は、電源スイッチ20、シャッタボタン18、ズームスイッチ32その他の操作部から入力される入力信号に基づき、対応する回路の動作を制御するとともに、LCD30における表示制御、オートフォーカス処理及び自動露出処理等を行う。
【0034】
ここでオートフォーカス処理について説明する。A/D変換器58によってデジタル信号に変換された画像データは、メモリ60に格納されるとともに、評価値演算部88に入力される。評価値演算部88は、高周波成分抽出回路90と積算回路92を有し、入力される画像データのうちG成分のデータをサンプリングしてAF検出対象エリア(以下、フォーカスエリアという)内での高周波成分を抽出するとともにその絶対値をとり、フォーカスエリア内で絶対値データを積算して得られた値(以下、評価値という)をCPU64に出力する。
【0035】
本実施の形態では、初期設定値として、図3(A)に示す画像データの画像93の中央部分の領域をフォーカスエリア94として設定されているものとして説明する。オートフォーカス動作時にCPU64は、フォーカスレンズ48を焦点調節領域内で無限遠から至近(又は至近から無限遠)の方向に移動させながら、複数のAF検出ポイント(以下、サーチポイントという)で画像中央部分のコントラストを検出し、評価値を算出する。そして、各ポイントで算出された評価値を総合して、評価値が最大となるレンズ位置を合焦位置として決定し、求めた合焦位置にフォーカスレンズ48を移動させるようにフォーカス駆動部78を制御する。
【0036】
レンズ12の焦点距離が長くなるにつれて、また、絞り50の開口径が大きくなるに従って焦点深度が浅くなり、無限遠から至近までのレンズ駆動量が多くなる。図4には、レンズ12の焦点距離と焦点調節領域300との関係を示した。なお、撮像レンズ12には、一例として焦点距離を7mmから21mmまで段階的に変更できるものを用いた。図4に示すように、レンズ12の焦点距離が長くなるに従ってフォーカスレンズ48による焦点調節領域300が広くなっている。例えば、焦点距離7mmの時には、無限遠から最至近までのフォーカスレンズ48の移動可能範囲は8.17μm、焦点距離21mmのときの焦点調節領域300は735μmである。
【0037】
CPU64は、レンズ12の焦点距離に対応して可変する焦点調節領域300に応じて、評価値を算出するレンズ位置(サーチポイント)の幅を示すAFステップ幅302とステップ段数(検出ポイント数)を設定する。
【0038】
このステップ段数は、各焦点距離における焦点調節領域300をAFステップ幅302で等分割してもよいし、近距離(至近限界)側のAFステップ幅302を無限遠側よりも短くして、近距離側でのサーチポイントを多くして焦点精度を高めるように設定してもよい。
【0039】
合焦状態を得るには、まず、無限遠から至近に向かってAFサーチを実行して各ポイントで評価値を取得する。そして、評価値のピークを越えて評価値が減少に転じ、所定の条件を満たすと、AFサーチが中断される。評価値のピークは、例えば、得られた評価値が続けて2回減少に転じた場合の減少に転じる前の評価値をピークとして検出すればよい。そして検出されたピークに対応するフォーカス位置(合焦位置)にフォーカスレンズ48を移動して合焦状態を得る。
【0040】
しかし、レンズ12の焦点距離が長くなるにつれ、焦点調節領域300(無限遠から至近まで)のフォーカスレンズ48の移動量(パルス数)が多くなるため、オートフォーカス時間は長くなる。そこで、最初にフォーカス移動量を多くしたAFサーチステップで評価値を取得するラフサーチ処理を行い、ラフサーチ処理によっておよその合焦位置が検出されると、検出されたおよその合焦位置の近傍領域について、更にフォーカス移動を小さくしたサーチステップで評価値を取得する詳細サーチ処理を行う技術が知られている。
【0041】
図5には、ラフサーチ処理と詳細サーチ処理の概念図を示した。本実施の形態では、無限遠から至近までのフォーカス移動量が240パルスであり、ラフサーチ処理時のフォーカス送りパルス数は20パルス、詳細サーチ処理時のフォーカス送りパルス数は2パルスに設定されているものとする。なお、ラフサーチ処理及び詳細サーチ処理のパルス数は、上記値に限られるものではなく、ラフサーチ処理のパルス数が詳細サーチ処理のパルス数より多い値であればよい。
【0042】
図5によれば、まず、無限遠から至近方向にラフサーチ処理が開始される。ラフサーチ処理は、20パルス毎にサーチポイントが変更され、各ポイントで評価値の算出を行うとともに、ピーク検出処理を行う。ラフサーチ処理において、評価値が連続して所定回数減少すると、ピークが検出されたと判断し、詳細サーチの初期位置(Pds) にフォーカス移動がなされる。そして、初期位置から無限遠方向に詳細サーチ処理が開始される。詳細サーチ処理では2パルス毎にサーチポイントが変更され、各ポイントで評価値の算出を行い、連続して所定回数評価値が減少したらピーク検出と判断し、ピーク(合焦位置)にフォーカスレンズ48を駆動する。なお、ラフサーチ処理において、無限遠から至近までサーチポイントを変更しても、ピークが検出されない場合には、ラフサーチ処理を中断し、詳細サーチ処理が開始される。
【0043】
しかし、上記技術では、ラフサーチ処理において、被写体の明るさが所定値より低く、フォーカスエリア94の輝度が極めて低い等の明らかにピークが検出されないような状況下においても、無条件に上記ラフサーチ処理実行後、続いて詳細サーチが実行される。すなわち、ピークが検出されないために、ラフサーチ処理が無限遠から至近方向まで実行された後に、更に詳細サーチが実行されることとなり、ラフサーチ処理に要する時間が長くなり、オートフォーカス処理全体に要する時間が長くなるという問題がある。
【0044】
このため、本発明のデジタルカメラ10では、更に測光部89を備えている。測光部89は、被写体の明るさを測光するためのものであり、CCD52による撮影によって得られる撮影画像のフォーカスエリア94の輝度(以下、被写体輝度という)を、メモリ60に格納された画像データの輝度信号Yに基づいて検出し、被写体輝度を示すデータをCPU64に出力する。なお、本実施の形態では、被写体輝度を示すデータをCPU64に出力する場合を説明するが、被写体の明るさを示すデータであってもよい。
【0045】
ユーザによるシャッタボタン18の半押し操作指示がなされると、メモリ60に記憶された画像データの画像から測光部89によって被写体輝度が検出され、被写体輝度を示すデータがCPU64に出力される。CPU64は、測光部89から入力された被写体輝度を示すデータに基づいて、オートフォーカス処理を実行する(詳細後述)。
【0046】
なお、メモリ60には、予めラフサーチ処理においてピーク検出可能な限界のフォーカスエリア94の輝度を示すデータを所定値として記憶するものとする。この所定値は、本発明の撮像装置の基準測光値に相当する。メモリ60に予め記憶される所定値は、予め、該デジタルカメラ10によって様々な明るさの状況下においてラフサーチ処理を実行し、該ラフサーチ処理においてピークが検出可能な輝度を示すデータを測定し、該測定結果に応じてピーク検出可能な限界の所定値を算出して記憶するようにすればよい。
【0047】
なお、測光部89は、本発明の撮像装置の測光手段に相当し、ズームレンズ46は、本発明の駆動手段に相当する。
【0048】
以下に、本実施の形態のデジタルカメラ10の作用を説明する。図6には、CPU64で実行される処理ルーチンを示した。
【0049】
電源スイッチ20によりデジタルカメラ10に電源が投入されるとステップ100に進み、半押し指示がなされるまで否定判断を繰り返す。ステップ100の判断は、ユーザによるシャッタボタン18を軽く押して止める「半押し」の状態を示す信号受信を判別することによって判断可能である。
【0050】
ステップ100で肯定されると、ステップ102へ進み、フォーカスエリア設定処理が実行される。例えば、図3(B)に示すように、撮影画像を等面積で8×8の64ブロックに分割し、中央部分の所定の複数ブロックが評価値演算対象のフォーカスエリア94に設定される。本実施の形態では、中央部分の所定の複数ブロックがフォーカスエリア94に設定される。
【0051】
次にステップ104では、測光処理が実行される。ステップ104の処理は、測光部89からの被写体輝度を示すデータを得るものである。ステップ102の処理によって、撮影画像のフォーカスエリア94の輝度を示すデータが得られる。本実施の形態では、撮影画像の中央部分のフォーカスエリア94の輝度を示すデータが得られる。
【0052】
次にステップ106では、上記ステップ104で得られた被写体輝度を示すデータが、所定値以上の値であるか否かを判断する。ステップ106の判断は、予めメモリ60に記憶された所定値を読取り、上記ステップ104で得られた被写体輝度を示すデータと比較することによって行われる。
【0053】
ステップ106で肯定されると、ステップ108へ進み、上記ステップ102で設定されたフォーカスエリア94について、ラフサーチ処理が実行される。ラフサーチ処理によって、上述したように、例えば無限遠から至近方向にラフサーチ処理が開始され、20パルス毎にサーチポイントが変更され、各ポイントで評価値の算出が実行されると共に、ピーク検出処理が実行される。ステップ108の処理によって、フォーカスエリア94におけるおおよその合焦位置が検出される。
【0054】
次にステップ110では、詳細サーチ処理が実行される。詳細サーチ処理は、上記ステップ108のラフサーチ処理によって検出されたおおよその合焦位置の近傍領域について、初期位置(Pds)から無限遠方向へ2パルス毎にサーチポイントを変更する。そして、各ポイントで評価値の算出を行い、連続して所定回数評価値が減少したらピーク検出と判断し、ピーク位置(合焦位置)にフォーカスレンズ48を駆動する。
【0055】
なお、上記ステップ110の詳細サーチ処理において、上記ステップ102で設定したフォーカスエリアにおいてピークが検出されなかった場合、フォーカスエリアを順次変更し、変更したフォーカスエリアのピークを検出するようにすればよい。この場合、図3(B)に示すように、予め所定の領域の複数ブロックについて、フォーカスエリアを複数(94A、94B、94C、94D)設定するとともに、設定したエリア各々に優先順位を付与し、各々のエリアを示す情報に関連付けてメモリ60に予め記憶する。そして、上記ステップ102で設定したフォーカスエリアにおいてピークが検出されなかった場合、メモリ60から優先順位に応じてエリアを示す情報を順次読取り、該エリアにフォーカスエリアを変更し詳細サーチ処理をするようにすればよい。
【0056】
更に、順次フォーカスエリアを変更し、撮影画像の全領域についてピーク検出がなされなかった場合、各々のフォーカスエリアで算出された評価値の最大評価値の値を比較し、各々の最大評価値の値が互いに一致する場合に、一致する該最大評価値をピークとすればよい。
【0057】
一方、上記ステップ106で否定されると、ステップ114へ進み、上記ステップ110と略同様に詳細サーチ処理が実行される。ステップ114では、上記ステップ102で設定されたフォーカスエリア94について、詳細サーチ処理が実行されて、無限遠方向から至近方向、または至近方向から無限遠方向に、2パルス毎にサーチポイントを変更し、各ポイントの評価値に応じて、ピーク(合焦位置)にフォーカスレンズ48を駆動する。
【0058】
なお、上記ステップ114の詳細サーチ処理において、上記ステップ102で設定したフォーカスエリアにおいてピークが検出されなかった場合、上記ステップ110と同様に、フォーカスエリアを順次変更し、変更したフォーカスエリアのピークを検出するようにすればよい。
【0059】
次にステップ116では、全押し指示がなされたか否かを判断し、否定されると本ルーチンを終了する。ステップ116の判断は、ユーザによるシャッタボタン18の「全押し」の状態を示す信号受信を判別することによって判断可能である。
【0060】
ステップ116で肯定されるとステップ118へ進み、撮影処理が実行された後に本ルーチンを終了する。ステップ118の処理は、被写体を撮影するときにおける、上記ステップ110またはステップ114の詳細サーチ処理によるピーク位置(合焦位置)にフォーカスレンズ48を駆動することにより、撮影画像を得るものである。
【0061】
以上説明したように、本実施の形態では、デジタルカメラ10の焦点調整(オートフォーカス)処理において、撮影画像のフォーカスエリア94の輝度を示すデータが所定値以上である場合にはラフサーチ処理の後に詳細サーチ処理を実行し、所定値未満で有る場合に、ラフサーチ処理を行わずに詳細サーチ処理のみを実行することができるので、無駄なレンズ駆動を抑制することが可能となる。従って、フォーカスレンズ48の無駄な駆動を抑制しつつ、効率よくオートフォーカス処理を行うことが可能となる。また、オートフォーカス処理における電源電池の消耗を抑制することが可能となる。
【0062】
なお、上記ステップ104の処理は、本発明の撮像装置の測光手段の機能に相当し、ステップ108、ステップ110、及びステップ114の処理は、本発明の設定手段の機能に相当する。また、上記ステップ106の処理は、本発明の撮像装置の禁止手段の機能に相当する。また、上記ステップ108乃至ステップ110の処理は、本発明の制御手段の機能に相当し、上記ステップ102の処理は、本発明の特定手段の機能に相当する。
【0063】
【発明の効果】
以上説明したように本発明の撮像装置によれば、被写体の測光による測光値が予め定めた基準測光値未満のときに、第2駆動量より大きい第1駆動量づつの駆動による焦点調整を禁止し、第2駆動量づつの駆動による焦点調整のみ実行することができるので、撮影光学系の無駄な駆動を抑制しつつ、効率良く焦点調整することができる、という効果が得られる。
【図面の簡単な説明】
【図1】(A)は本実施形態に係るデジタルカメラの正面図であり、(B)は本実施形態に係るデジタルカメラの背面図である。
【図2】デジタルカメラの概略構成を示すブロック図である。
【図3】(A)は、画像中央部に設定されたフォーカスエリアの例を示す模式図であり、(B)は、画像を撮影画像を複数ブロックに分割してフォーカスエリアを設定した場合の一例を示す模式図である。
【図4】ズーム位置及びフォーカス位置に応じたオートフォーカスサーチステップ幅の変化を示す図である。
【図5】ラフサーチ処理と詳細サーチ処理とを組み合わせたオートフォーカス処理の概念図である。
【図6】本実施の形態のデジタルカメラのオートフォーカス処理を示す処理ルーチンである。
【符号の説明】
10 デジタルカメラ
89 測光部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image pickup apparatus, and more particularly to an image pickup apparatus having a function of adjusting a focus.
[0002]
[Prior art]
In recent years, many image pickup apparatuses, particularly digital cameras, equipped with an image pickup device such as a CCD have been distributed. In such a digital camera, at the time of shooting, a subject image is formed on the light receiving surface of the CCD, and the formed subject image is converted into signal charges of an amount corresponding to the amount of incident light by each sensor of the CCD. The signal charge accumulated in the CCD is read for each pixel and converted into image data, and this image data is recorded on a recording medium such as a memory card.
[0003]
Similar to the silver salt camera, this digital camera is known to have an autofocus function for automatically adjusting the focus with the subject. The autofocus function is a function for forming a subject image on an image sensor such as a CCD while moving a lens. For example, there is a method for performing this function, in which auto focus processing is performed by moving a lens from a predetermined initial position and setting a lens position at which the contrast value is maximum as a focus position. In the autofocus process, when the in-focus position is obtained by the maximum contrast value, the SN ratio of the contrast value is lowered and the in-focus position cannot be specified unless the subject is bright to some extent. For this reason, the lens movement may be repeatedly executed.
[0004]
In order to solve this problem, if the contrast value obtained from the difference between the maximum value and the minimum value of the luminance signal of the video signal is smaller than a predetermined threshold value, the lens drive is stopped and the autofocus operation is prohibited. A technique is known (for example, refer to Patent Document 1). As another technique, a technique for determining whether or not a subject has low brightness (low contrast) and determining that distance measurement is impossible when the brightness is low and prohibiting autofocus processing is known. (For example, refer to Patent Document 2).
[0005]
[Patent Document 1]
JP-A-6-67081 (pages 7-8, FIG. 1)
[Patent Document 2]
JP-A-8-43722 (pages 5-6, FIG. 1)
[0006]
[Problems to be solved by the invention]
However, in these techniques, the threshold value and the determination criterion have to be set high, and in the case of a low-contrast image (video signal), the autofocus itself is interrupted. The in-focus position could not be obtained.
[0007]
The present invention has been made to solve the above problems, and an object of the present invention is to provide an imaging apparatus capable of adjusting the focus efficiently while suppressing unnecessary driving of the photographing optical system.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, an image pickup apparatus of the present invention includes a light metering unit that measures a subject, and a driving unit that obtains a focus position by adjusting a focus on the subject by driving a photographing optical system by a predetermined driving amount. Setting means for setting a predetermined first driving amount or a second driving amount smaller than the first driving amount as the predetermined driving amount at the time of the focus adjustment, and a photometric value of the photometric means And a prohibiting unit that prohibits the setting of the first drive amount by the setting unit when it is less than a predetermined reference photometric value.
[0009]
The image pickup apparatus of the present invention includes a driving unit, and at the time of shooting, a photographing optical system including an imaging lens and the like is driven by a predetermined driving amount to adjust the focus on the subject and obtain a focus position. As an example of this focus adjustment, there is calculation of a contrast value, brightness, etc. at the position of each photographing optical system in which the photographing optical system is moved from a predetermined initial position. The in-focus position is obtained, for example, by setting the position of the photographing optical system where the calculated contrast value, brightness, etc. are the maximum value. In this case, the maximum and minimum differences and ratios of contrast values, and the amount of variation in brightness can be used.
[0010]
The setting means sets a predetermined driving amount when performing focus adjustment. The predetermined drive amount includes a first drive amount or a second drive amount smaller than the first drive amount. When the first drive amount or the second drive amount is set by the setting unit, the drive unit adjusts the focus by driving the imaging optical system by the first drive amount or the second drive amount to obtain a focus position. For this reason, when the second drive amount is set, more detailed focus adjustment of the photographing optical system is performed as compared with the case where the first drive amount is set. Therefore, for example, when the brightness of the subject is not sufficient, the in-focus position may not be obtained by driving with the first driving amount, and the in-focus position may be obtained by driving with the second driving amount.
[0011]
The photometric means measures the brightness of the subject, and the obtained data includes luminance data. The prohibiting unit prohibits the setting of the first drive amount by the setting unit when the photometric value of the photometric unit is less than a predetermined reference photometric value. The reference photometric value is a brightness threshold of the subject from which the in-focus position can be obtained by driving the imaging optical system for each first drive amount.
[0012]
Therefore, when the photometric value of the photometric means is less than a predetermined reference photometric value, the setting means can set only the second drive amount, and the drive for each first drive amount is not performed, and the drive for each second drive amount is performed. The in-focus position is obtained by driving the means. Therefore, useless lens driving can be suppressed, and efficient focus adjustment can be performed.
[0013]
The driving means can be driven by moving the lens position of the photographing optical system. Therefore, by moving the lens position of the imaging optical system such as the imaging lens, it is possible to obtain the in-focus position by adjusting the focus on the subject, so that the focus adjustment by a simple mechanism is possible.
[0014]
After setting the first drive amount in the setting unit and adjusting the focus with the first drive amount set in the drive unit, the setting unit sets the second drive amount and set in the drive unit. Further, a control means for adjusting the focus with the second drive amount can be further provided.
[0015]
The focus adjustment by the drive by the first drive amount by the drive means is coarser than the focus adjustment by the drive by the second drive amount. Therefore, in the image pickup apparatus of the present invention, when focus adjustment is performed, details are obtained by driving the second drive amount after obtaining an approximate focus position by rough focus adjustment by driving the first drive amount under the control of the control unit. An in-focus position can be obtained by performing a proper focus adjustment. For this reason, it becomes possible to obtain a highly accurate focus position efficiently.
[0016]
The photometric means includes a specific means for setting a specific area for measuring a part of the subject, and the setting means further sets the specific area in the photometric means so as to measure the specific area. Can do. When the specific area for metering a part of the subject is set by the specifying means, the setting means can further set the photometry means to measure the specific area, so that the photometry means can measure the specific area. can do. For this reason, for example, metering can be performed for a specific region intended by the user, so that metering can be performed efficiently.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of a digital camera according to an imaging apparatus of the present invention will be described with reference to the drawings.
[0018]
FIG. 1 shows an example of a front view (A) and a rear view (B) of the appearance of the digital camera 10 according to the present embodiment.
[0019]
On the front surface of the housing 11 of the digital camera 10, a lens 12 for forming a subject image, a finder window 14, and a strobe light emitting unit 16 are provided. A shutter button 18 and a power switch 20 are disposed on the upper surface of the housing 11. A card slot 26 for mounting a memory card 24 is provided on the side surface of the housing 11. The shutter button 18 is configured in a two-stage manner, and the automatic focusing (auto focus) and automatic exposure processing (AE) are activated in a “half-pressed” state in which the shutter button 18 is lightly pressed and stopped to lock auto focus and AE. Then, shooting is executed in the state of “full press”, which is further pressed from “half press”. The power switch 20 is used when the user performs switching between supply / stop of supply of power to each part of the digital camera 10.
[0020]
A finder 28, an LCD (liquid crystal display device) 30, a zoom switch 32, a cross button 34, a menu button 38, an execution button 40, and a cancel button 42 are provided on the rear surface of the housing 11 of the digital camera 10. The LCD 30 can be used as an electronic viewfinder for checking the angle of view at the time of shooting, and displays various menu items, various selection items by the user, and a shot image.
[0021]
The menu button 38 is used when the user displays various menu items on the LCD 30. The cross button 34 is used when the user selects an arbitrary menu item from various menus displayed on the LCD 30. The execution button 40 is used when the user instructs the execution start of each item. The cancel button 42 is for operating when an instruction to cancel the item selected by the user is given. The zoom switch 32 is composed of a lever switch that can be operated in the vertical direction, and is operated when the user issues a zoom movement instruction in the telephoto (TELE) direction or a zoom movement instruction in the wide-angle (WIDE) direction. It is.
[0022]
FIG. 2 shows a main configuration of the digital camera 10 according to the present embodiment as a block diagram. The digital camera 10 includes a lens 12. The lens 12 includes a four-group inner focus zoom lens including a fixed lens 44, a variable power lens 46A, a correction lens 46B, and a focus lens 48. The variable magnification lens 46A and the correction lens 46B are provided so as to move along the optical axis while the positional relationship between them is regulated by a cam mechanism (not shown) so that the focal length can be changed. In the present embodiment, the variable power optical system including the variable power lens 46A and the correction lens 46B functions as the zoom lens 46.
[0023]
The light passing through the lens 12 is incident on the CCD 52 after the amount of light is adjusted by the diaphragm 50. Photosensors are arranged in a plane on the light receiving surface of the CCD 52, and the subject image formed on the light receiving surface of the CCD 52 via the lens 12 is converted into signal charges of an amount corresponding to the amount of incident light by each photosensor. Converted. The CCD 52 has a so-called electronic shutter function that controls the charge accumulation time (shutter speed) of each photosensor according to the timing of the shutter gate pulse.
[0024]
The signal charge accumulated in each photosensor is sequentially read out as a voltage signal (image data) corresponding to the signal charge based on a pulse given from the CCD driver 54. The image data output from the CCD 52 is sent to the analog processing unit 56. The analog processing unit 56 includes signal processing circuits such as a sampling hold circuit, a color separation circuit, and a gain adjustment circuit. The analog processing unit 56 performs correlated double sampling (CDS) processing and R, G, B color signals. Color separation processing is performed, and the signal level of each color signal is adjusted.
[0025]
The signal output from the analog processing unit 56 is converted into a digital signal by the A / D converter 58 and then stored in the memory 60. A timing generator (TG) 62 provides timing signals to the CCD driver 54, the analog processing unit 56, and the A / D converter 58 in accordance with instructions from the CPU 64, and the circuits are synchronized by this timing signal.
[0026]
The data stored in the memory 60 is sent to the signal processing unit 68 via the bus 66. The signal processing unit 68 is an image processing unit composed of a digital signal processor (DSP) including a luminance / color difference signal generation circuit, a gamma correction circuit, a sharpness correction circuit, a contrast correction circuit, a white balance correction circuit, and the like. Execute the process according to the command.
[0027]
The image data input to the signal processing unit 68 is converted into a luminance signal (Y signal) and a color difference signal (Cr, Cb signal) and is subjected to predetermined processing such as gamma correction and then stored in the memory 60. Is done. When the captured image is displayed and output, the image data is read from the memory 60 and transferred to the display memory 70. The data stored in the display memory 70 is converted into a predetermined signal for display and then output to the liquid crystal monitor (LCD) 30 via the D / A converter 72. For this reason, the image content of the image data is displayed on the screen of the LCD 30.
[0028]
When the user operates the zoom switch 32, the instruction signal is input to the CPU 64, and the CPU 64 controls the zoom drive unit 74 based on the signal from the zoom switch 32 to move the zoom lens 46 in the tele (TELE) direction or wide (WIDE). ) Move in the direction. The zoom driving unit 74 includes a motor (not shown), and the zoom lens 46 is driven by the driving force of the motor. The position (zoom position) of the zoom lens 46 is detected by a zoom position sensor 76, and a detection signal from the sensor 76 is input to the CPU 64.
[0029]
Similarly, the focus driving unit 78 includes a motor (not shown), and the focus lens 48 moves back and forth along the optical axis by the driving force of the motor. The position (focus position) of the focus lens 48 is detected by a focus position sensor 80, and a detection signal from the sensor 80 is input to the CPU 64.
[0030]
When an instruction to fully press the shutter button 18 is given, a shooting start instruction (release ON) signal is issued. The CPU 64 detects the release ON signal and executes a recording imaging operation. That is, the CPU 64 controls the focus drive unit 78 based on the result of evaluation value calculation described later to move the focus lens 48 to the in-focus position, and controls the aperture diameter of the diaphragm 50 and the electronic shutter of the CCD 52. Perform exposure control. Further, the CPU 64 sends a command to the strobe control circuit 82 as necessary to control the light emission of the slot light emitting unit 16.
[0031]
As described above, in response to the pressing operation of the shutter button 18, the capture of the image data is started. When the mode for compressing and recording image data is selected, the CPU 64 sends a command to the compression / decompression circuit 84. The compression / decompression circuit 84 compresses the image data taken into the memory 60 in accordance with JPEG or another predetermined format.
[0032]
The compressed image data is recorded on the memory card 24 via the card interface 86. When the mode for recording non-compressed image data (non-compression mode) is selected, the compression processing by the compression / decompression circuit 84 is omitted, and the image data is recorded on the memory card 24 without being compressed.
[0033]
The CPU 64 is a control unit that performs overall control of each circuit. The CPU 64 controls the operation of the corresponding circuit based on input signals input from the power switch 20, the shutter button 18, the zoom switch 32, and other operation units, and also performs display control on the LCD 30, auto focus processing, automatic exposure processing, and the like. I do.
[0034]
Here, the autofocus process will be described. The image data converted into a digital signal by the A / D converter 58 is stored in the memory 60 and input to the evaluation value calculation unit 88. The evaluation value calculation unit 88 includes a high frequency component extraction circuit 90 and an integration circuit 92. The evaluation value calculation unit 88 samples G component data in the input image data, and performs high frequency in an AF detection target area (hereinafter referred to as a focus area). A component is extracted and its absolute value is taken, and a value obtained by integrating the absolute value data in the focus area (hereinafter referred to as an evaluation value) is output to the CPU 64.
[0035]
In the present embodiment, it is assumed that the central area of the image 93 of the image data shown in FIG. 3A is set as the focus area 94 as the initial setting value. During the autofocus operation, the CPU 64 moves the focus lens 48 from infinity to close (or close to infinity) in the focus adjustment area, and at the center of the image at a plurality of AF detection points (hereinafter referred to as search points). The contrast is detected and an evaluation value is calculated. Then, by combining the evaluation values calculated at each point, the lens position where the evaluation value is maximum is determined as the in-focus position, and the focus driving unit 78 is moved so as to move the focus lens 48 to the obtained in-focus position. Control.
[0036]
As the focal length of the lens 12 increases, and as the aperture diameter of the diaphragm 50 increases, the depth of focus decreases, and the amount of lens driving from infinity to the nearest increases. FIG. 4 shows the relationship between the focal length of the lens 12 and the focus adjustment region 300. For example, an imaging lens 12 having a focal length that can be changed stepwise from 7 mm to 21 mm is used. As shown in FIG. 4, the focus adjustment region 300 by the focus lens 48 becomes wider as the focal length of the lens 12 becomes longer. For example, when the focal length is 7 mm, the movable range of the focus lens 48 from infinity to the nearest distance is 8.17 μm, and the focus adjustment region 300 when the focal length is 21 mm is 735 μm.
[0037]
The CPU 64 sets an AF step width 302 indicating the width of the lens position (search point) for calculating the evaluation value and the number of step steps (number of detection points) in accordance with the focus adjustment region 300 that varies according to the focal length of the lens 12. Set.
[0038]
This step step number may be obtained by equally dividing the focus adjustment region 300 at each focal length by the AF step width 302, or by reducing the AF step width 302 on the near distance (closest limit) side to be shorter than the infinity side. It may be set to increase the focus accuracy by increasing the search points on the distance side.
[0039]
In order to obtain the in-focus state, first, an AF search is executed from infinity to the closest position, and an evaluation value is acquired at each point. When the evaluation value starts to decrease beyond the peak of the evaluation value and a predetermined condition is satisfied, the AF search is interrupted. The peak of the evaluation value may be detected, for example, as the peak of the evaluation value before the decrease in the case where the obtained evaluation value continues to decrease twice. Then, the focus lens 48 is moved to a focus position (focus position) corresponding to the detected peak to obtain a focused state.
[0040]
However, as the focal length of the lens 12 increases, the amount of movement (number of pulses) of the focus lens 48 in the focus adjustment region 300 (from infinity to close) increases, so the autofocus time increases. Therefore, when a rough search process is first performed to obtain an evaluation value in the AF search step with an increased focus movement amount, and an approximate focus position is detected by the rough search process, a region near the detected approximate focus position is detected. Further, a technique for performing a detailed search process for acquiring an evaluation value in a search step in which the focus movement is further reduced is known.
[0041]
FIG. 5 shows a conceptual diagram of rough search processing and detailed search processing. In this embodiment, the amount of focus movement from infinity to the nearest is 240 pulses, the number of focus feed pulses during rough search processing is 20 pulses, and the number of focus feed pulses during detailed search processing is set to 2 pulses. And Note that the number of pulses in the rough search process and the detailed search process is not limited to the above values, but may be any value as long as the number of pulses in the rough search process is larger than the number of pulses in the detailed search process.
[0042]
According to FIG. 5, first, the rough search process is started from infinity to the closest direction. In the rough search process, the search point is changed every 20 pulses, the evaluation value is calculated at each point, and the peak detection process is performed. In the rough search process, when the evaluation value continuously decreases a predetermined number of times, it is determined that a peak has been detected, and the focus is moved to the initial position (Pds) of the detailed search. Then, the detailed search process is started in the infinity direction from the initial position. In the detailed search process, the search point is changed every two pulses, and the evaluation value is calculated at each point. If the evaluation value decreases continuously a predetermined number of times, it is determined that the peak is detected, and the focus lens 48 is set at the peak (focus position). Drive. In the rough search process, if a peak is not detected even if the search point is changed from infinity to the nearest point, the rough search process is interrupted and the detailed search process is started.
[0043]
However, in the above technique, in the rough search process, the rough search process is unconditionally executed even in a situation where a clear peak is not detected such that the brightness of the subject is lower than a predetermined value and the brightness of the focus area 94 is extremely low. Subsequently, a detailed search is subsequently performed. In other words, since no peak is detected, the detailed search is executed after the rough search process is executed from infinity to the closest direction, and the time required for the rough search process is increased, and the time required for the entire autofocus process is increased. There is a problem of becoming.
[0044]
For this reason, the digital camera 10 of the present invention further includes a photometry unit 89. The photometry unit 89 is for measuring the brightness of the subject, and the brightness of the focus area 94 (hereinafter referred to as subject brightness) of the photographed image obtained by photographing with the CCD 52 is stored in the image data stored in the memory 60. Detection is based on the luminance signal Y, and data indicating the subject luminance is output to the CPU 64. In the present embodiment, a case where data indicating subject brightness is output to the CPU 64 will be described, but data indicating subject brightness may be used.
[0045]
When the user gives an instruction to half-press the shutter button 18, the subject brightness is detected by the photometry unit 89 from the image data stored in the memory 60, and data indicating the subject brightness is output to the CPU 64. The CPU 64 executes autofocus processing based on data indicating the subject luminance input from the photometry unit 89 (details will be described later).
[0046]
In the memory 60, data indicating the brightness of the limit focus area 94 where the peak can be detected in the rough search process is stored in advance as a predetermined value. This predetermined value corresponds to the reference photometric value of the imaging apparatus of the present invention. The predetermined value stored in advance in the memory 60 is obtained by executing a rough search process under various brightness conditions by the digital camera 10 in advance, measuring data indicating luminance at which a peak can be detected in the rough search process, What is necessary is just to calculate and memorize | store the predetermined value of the limit which can detect a peak according to a measurement result.
[0047]
The photometry unit 89 corresponds to the photometry unit of the imaging apparatus of the present invention, and the zoom lens 46 corresponds to the drive unit of the present invention.
[0048]
Hereinafter, the operation of the digital camera 10 of the present embodiment will be described. FIG. 6 shows a processing routine executed by the CPU 64.
[0049]
When power is turned on to the digital camera 10 by the power switch 20, the process proceeds to step 100, and negative determination is repeated until a half-press instruction is given. The determination in step 100 can be made by determining signal reception indicating a “half-pressed” state in which the user presses the shutter button 18 lightly and stops.
[0050]
If the determination in step 100 is affirmative, the process proceeds to step 102, where focus area setting processing is executed. For example, as shown in FIG. 3B, the photographed image is divided into 8 × 8 64 blocks of equal area, and a predetermined plurality of blocks in the central portion are set as the focus area 94 to be evaluated. In the present embodiment, a predetermined plurality of blocks in the center portion are set in the focus area 94.
[0051]
Next, in step 104, photometric processing is executed. The processing in step 104 is to obtain data indicating the subject brightness from the photometry unit 89. By the processing in step 102, data indicating the brightness of the focus area 94 of the captured image is obtained. In the present embodiment, data indicating the brightness of the focus area 94 at the center of the captured image is obtained.
[0052]
Next, in step 106, it is determined whether or not the data indicating the subject brightness obtained in step 104 is a predetermined value or more. The determination in step 106 is performed by reading a predetermined value stored in advance in the memory 60 and comparing it with data indicating the subject brightness obtained in step 104.
[0053]
If the determination in step 106 is affirmative, the process proceeds to step 108, and rough search processing is executed for the focus area 94 set in step 102. As described above, by rough search processing, for example, rough search processing is started from infinity to the closest direction, search points are changed every 20 pulses, evaluation values are calculated at each point, and peak detection processing is executed. The By the process of step 108, an approximate in-focus position in the focus area 94 is detected.
[0054]
Next, in step 110, a detailed search process is executed. In the detailed search process, the search point is changed every two pulses from the initial position (Pds) to the infinity direction in the vicinity region of the approximate focus position detected by the rough search process in step 108. Then, the evaluation value is calculated at each point, and when the evaluation value continuously decreases a predetermined number of times, it is determined that the peak is detected, and the focus lens 48 is driven to the peak position (focus position).
[0055]
In the detailed search process in step 110, if no peak is detected in the focus area set in step 102, the focus area may be changed sequentially to detect the peak in the changed focus area. In this case, as shown in FIG. 3B, a plurality of focus areas (94A, 94B, 94C, 94D) are set in advance for a plurality of blocks in a predetermined area, and priorities are assigned to the set areas, The information is stored in advance in the memory 60 in association with information indicating each area. If no peak is detected in the focus area set in step 102, information indicating the area is sequentially read from the memory 60 according to the priority order, the focus area is changed to the area, and the detailed search process is performed. do it.
[0056]
Further, when the focus area is sequentially changed and the peak detection is not performed for the entire area of the photographed image, the maximum evaluation value of the evaluation value calculated in each focus area is compared, and the value of each maximum evaluation value is compared. When the two match each other, the matching maximum evaluation value may be a peak.
[0057]
On the other hand, if the determination in step 106 is negative, the process proceeds to step 114, and the detailed search process is executed in substantially the same manner as in step 110. In step 114, a detailed search process is executed for the focus area 94 set in step 102, and the search point is changed every two pulses from the infinity direction to the close direction or from the close direction to the infinity direction. The focus lens 48 is driven to the peak (focus position) according to the evaluation value of each point.
[0058]
In the detailed search process in step 114, if no peak is detected in the focus area set in step 102, the focus area is sequentially changed and the peak in the changed focus area is detected in the same manner as in step 110. You just have to do it.
[0059]
Next, in step 116, it is determined whether or not a full-press instruction has been issued. If the determination is negative, this routine is terminated. The determination in step 116 can be made by determining the reception of a signal indicating the state of the shutter button 18 being “fully pressed” by the user.
[0060]
If the determination in step 116 is affirmative, the routine proceeds to step 118, and after the photographing process is executed, this routine is terminated. The process of step 118 is to obtain a photographed image by driving the focus lens 48 to the peak position (focus position) by the detailed search process of step 110 or step 114 when photographing a subject.
[0061]
As described above, in the present embodiment, in the focus adjustment (autofocus) process of the digital camera 10, when the data indicating the brightness of the focus area 94 of the photographed image is equal to or greater than a predetermined value, details are provided after the rough search process. When the search process is executed and the value is less than the predetermined value, only the detailed search process can be executed without performing the rough search process, so that useless lens driving can be suppressed. Therefore, it is possible to efficiently perform autofocus processing while suppressing unnecessary driving of the focus lens 48. Further, it becomes possible to suppress the consumption of the power supply battery in the autofocus process.
[0062]
Note that the processing in step 104 corresponds to the function of the photometry unit of the imaging apparatus of the present invention, and the processing of step 108, step 110, and step 114 corresponds to the function of the setting unit of the present invention. Further, the processing in step 106 corresponds to the function of the prohibiting means of the image pickup apparatus of the present invention. Further, the processing from step 108 to step 110 corresponds to the function of the control means of the present invention, and the processing of step 102 corresponds to the function of the specifying means of the present invention.
[0063]
【The invention's effect】
As described above, according to the imaging apparatus of the present invention, when the photometric value obtained by photometry of the subject is less than the predetermined reference photometric value, the focus adjustment by driving each of the first drive amount larger than the second drive amount is prohibited. In addition, since only the focus adjustment by the drive for each second drive amount can be executed, it is possible to obtain an effect that the focus adjustment can be performed efficiently while suppressing unnecessary driving of the photographing optical system.
[Brief description of the drawings]
FIG. 1A is a front view of a digital camera according to the present embodiment, and FIG. 1B is a rear view of the digital camera according to the present embodiment.
FIG. 2 is a block diagram illustrating a schematic configuration of a digital camera.
FIG. 3A is a schematic diagram showing an example of a focus area set at the center of an image, and FIG. 3B shows a case where a focus area is set by dividing an image into a plurality of blocks. It is a schematic diagram which shows an example.
FIG. 4 is a diagram illustrating a change in an autofocus search step width according to a zoom position and a focus position.
FIG. 5 is a conceptual diagram of autofocus processing in which rough search processing and detailed search processing are combined.
FIG. 6 is a processing routine showing an autofocus process of the digital camera of the present embodiment.
[Explanation of symbols]
10 Digital camera
89 Metering unit

Claims (4)

被写体を測光する測光手段と、
撮影光学系を予め定めた駆動量づつ駆動することによって、被写体に焦点調整して合焦位置を得る駆動手段と、
前記焦点調整するときに前記予め定めた駆動量として、予め定めた第1駆動量または前記第1駆動量より小さい第2駆動量を設定する設定手段と、
前記測光手段の測光値が予め定めた基準測光値未満のとき、前記設定手段における第1駆動量の設定を禁止する禁止手段と、
を備えたことを特徴とする撮像装置。
A metering means for metering the subject;
Driving means for adjusting the focus on the subject to obtain the in-focus position by driving the photographing optical system by a predetermined driving amount; and
Setting means for setting a predetermined first driving amount or a second driving amount smaller than the first driving amount as the predetermined driving amount when the focus is adjusted;
Prohibiting means for prohibiting setting of the first drive amount in the setting means when the photometric value of the photometric means is less than a predetermined reference photometric value;
An imaging apparatus comprising:
前記駆動手段は、前記撮影光学系のレンズ位置を移動することで駆動することを特徴とする請求項1に記載の撮像装置。The imaging apparatus according to claim 1, wherein the driving unit is driven by moving a lens position of the photographing optical system. 前記設定手段に、前記第1駆動量を設定させかつ前記駆動手段に設定された第1駆動量で焦点調整させた後に、前記設定手段に前記第2駆動量を設定させかつ前記駆動手段に設定された第2駆動量で焦点調整させる制御手段を更に備えたことを特徴とする請求項1または請求項2に記載の撮像装置。After the setting unit has the first driving amount set and the focus is adjusted by the first driving amount set by the driving unit, the setting unit sets the second driving amount and sets the driving unit. The image pickup apparatus according to claim 1, further comprising a control unit that adjusts a focus with the second driving amount. 前記測光手段は、前記被写体の一部を測光するための特定領域を設定する特定手段を備え、前記設定手段は、前記特定領域について測光するように前記測光手段に前記特定領域を更に設定することを特徴とする請求項1乃至請求項3の何れか1項に記載の撮像装置。The photometric means includes a specific means for setting a specific area for measuring a part of the subject, and the setting means further sets the specific area in the photometric means so as to measure the specific area. The imaging device according to any one of claims 1 to 3, wherein
JP2003132671A 2003-05-12 2003-05-12 Imaging apparatus Pending JP2004334072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003132671A JP2004334072A (en) 2003-05-12 2003-05-12 Imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003132671A JP2004334072A (en) 2003-05-12 2003-05-12 Imaging apparatus

Publications (1)

Publication Number Publication Date
JP2004334072A true JP2004334072A (en) 2004-11-25

Family

ID=33507447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003132671A Pending JP2004334072A (en) 2003-05-12 2003-05-12 Imaging apparatus

Country Status (1)

Country Link
JP (1) JP2004334072A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006189641A (en) * 2005-01-06 2006-07-20 Renesas Technology Corp Camera system and camera module
JP2010171565A (en) * 2009-01-21 2010-08-05 Sanyo Electric Co Ltd Electronic camera

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11215426A (en) * 1997-11-19 1999-08-06 Ricoh Co Ltd Auto focus device
JP2001066494A (en) * 1999-08-27 2001-03-16 Ricoh Co Ltd Auto focus device
JP2002014278A (en) * 2000-06-30 2002-01-18 Kyocera Corp AF system
JP2002318341A (en) * 2001-04-20 2002-10-31 Fuji Photo Film Co Ltd Device and method for automatic focusing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11215426A (en) * 1997-11-19 1999-08-06 Ricoh Co Ltd Auto focus device
JP2001066494A (en) * 1999-08-27 2001-03-16 Ricoh Co Ltd Auto focus device
JP2002014278A (en) * 2000-06-30 2002-01-18 Kyocera Corp AF system
JP2002318341A (en) * 2001-04-20 2002-10-31 Fuji Photo Film Co Ltd Device and method for automatic focusing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006189641A (en) * 2005-01-06 2006-07-20 Renesas Technology Corp Camera system and camera module
JP2010171565A (en) * 2009-01-21 2010-08-05 Sanyo Electric Co Ltd Electronic camera

Similar Documents

Publication Publication Date Title
US7720369B2 (en) Image taking apparatus
US7764321B2 (en) Distance measuring apparatus and method
JP4127491B2 (en) Camera with auto focus function
JP4957943B2 (en) Imaging apparatus and program thereof
JP5064926B2 (en) Imaging apparatus and control method thereof
JP2002072074A (en) Automatic focusing device and method
CN101373254B (en) Imaging device, and control method for imaging device
JP4565370B2 (en) Electronic camera and autofocus control method
JP4170194B2 (en) Imaging device
JP2001255451A (en) Autofocus device, digital camera, and portable information input device
JP2007057974A (en) Photographing device
JP2003319246A (en) Digital camera
JP2005283637A (en) Imaging apparatus and program thereof
JP4278948B2 (en) camera
JP5069076B2 (en) Imaging apparatus and continuous imaging method
JP2003222787A (en) Digital camera
JP4496051B2 (en) Imaging device
JP2004334072A (en) Imaging apparatus
JP2007251236A (en) Imaging device
JP2003295044A (en) Digital camera
JP2005031290A (en) Automatic focusing device of camera
JP4823964B2 (en) Imaging apparatus and imaging method
JP2005062469A (en) Digital camera
JP4888068B2 (en) Electronic camera
JP2007094023A (en) Focus lens focus adjustment method and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060224

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090303

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090630