JP2007057974A - Photographing device - Google Patents
Photographing device Download PDFInfo
- Publication number
- JP2007057974A JP2007057974A JP2005244805A JP2005244805A JP2007057974A JP 2007057974 A JP2007057974 A JP 2007057974A JP 2005244805 A JP2005244805 A JP 2005244805A JP 2005244805 A JP2005244805 A JP 2005244805A JP 2007057974 A JP2007057974 A JP 2007057974A
- Authority
- JP
- Japan
- Prior art keywords
- search range
- value
- focus
- search
- lens
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、固体撮像素子によって撮像された画像データに基づいて、コントラスト方式で撮影レンズの焦点調節を行う撮影装置に関する。 The present invention relates to a photographing apparatus that performs focus adjustment of a photographing lens by a contrast method based on image data picked up by a solid-state image sensor.
近年、CCDイメージセンサ等の撮像素子によって得られる撮像信号をデジタル変換して得られた画像データをメモリカード等の記憶媒体に記憶させる撮影装置であるデジタルカメラが一般に普及している。このようなデジタルカメラでは、コントラスト方式によって、撮影レンズの自動焦点調節処理、すなわちオートフォーカス(以下、AFと称する)処理を行っている。 2. Description of the Related Art In recent years, digital cameras, which are photographing devices that store image data obtained by digitally converting an image signal obtained by an image sensor such as a CCD image sensor, in a storage medium such as a memory card, have become popular. In such a digital camera, an automatic focus adjustment process of the taking lens, that is, an autofocus (hereinafter referred to as AF) process is performed by a contrast method.
前述のコントラスト方式のAF処理では、フォーカスレンズを光軸方向に移動させながら撮像を行い、画像データの高周波成分の積分値をAF評価値として算出し、このAF評価値がピークとなる位置を合焦位置としている。このため、フォーカスレンズの移動範囲が広いので、AF処理に時間がかかるという問題があった。 In the contrast AF processing described above, imaging is performed while moving the focus lens in the optical axis direction, the integral value of the high frequency component of the image data is calculated as an AF evaluation value, and the position where the AF evaluation value reaches its peak is adjusted. The focus position. For this reason, since the moving range of the focus lens is wide, there is a problem that AF processing takes time.
前述の問題を解決するために、測距センサを設け、この測距センサの測定結果に基づいて、フォーカスレンズを合焦位置付近に移動させた後、この合焦位置付近の狭い範囲でフォーカスレンズを移動させて、AF処理を高速化したものが知られている(例えば、特許文献1参照)。
しかしながら、上記特許文献1に記載されているように、測距センサを用いた場合、AF処理に要する時間を短縮することはできるが、製造コストが高くなるという問題がある。
However, as described in
本発明は上記事情に鑑みてなされたものであり、AF処理に要する時間を短縮することが可能な撮影装置を低コストで提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to provide a photographing apparatus capable of reducing the time required for AF processing at a low cost.
上記課題を解決するために、シャッタボタンが操作された時に、フォーカスレンズを所定のサーチ範囲で移動させながら、固体撮像素子によって撮像された画像データの高周波成分の積分値であるAF評価値を逐次算出し、これらのAF評価値に基づいて前記フォーカスレンズを合焦位置に移動させて、撮影レンズの焦点調節を行う撮影装置であり、前記シャッタボタンが操作された時に、前記画像データに基づいて測光を行う測光手段と、前記測光手段によって測光された測光値、及び前記合焦位置を記憶する記憶手段と、前記測光手段によって測光された測光値と前記測光値記憶手段に記憶された前回の測光値とを比較し、その変化量が許容範囲以内であるか否かを判定する測光値判定手段と、前記測光値判定手段によって、前記許容範囲外である判定された場合、前記サーチ範囲を第1のサーチ範囲に設定し、前記許容範囲以内であると判定された場合、前記第1のサーチ範囲より狭く、前記記憶手段に記憶された前回の合焦位置を含む第2のサーチ範囲に設定するサーチ範囲設定手段と、前記シャッタボタンが操作された時に、前記サーチ範囲設定手段を制御して前記サーチ範囲を設定させ、このサーチ範囲設定手段によって設定されたサーチ範囲で前記フォーカスレンズを移動させて焦点調節を行うとともに、前記記憶手段に記憶された前記測光値及び前記合焦位置を更新する制御手段とを備えていることを特徴とするものである。 In order to solve the above problem, when the shutter button is operated, the AF evaluation value, which is an integral value of the high-frequency component of the image data captured by the solid-state image sensor, is sequentially moved while moving the focus lens within a predetermined search range. An imaging device that calculates and adjusts the focus of the imaging lens by moving the focus lens to a focus position based on these AF evaluation values, and based on the image data when the shutter button is operated. A photometric means for performing photometry; a photometric value measured by the photometric means; a storage means for storing the in-focus position; a photometric value measured by the photometric means; and a previous photometric value stored in the photometric value storage means The photometric value is compared with the photometric value, the photometric value determining means for determining whether or not the change amount is within the allowable range, and the photometric value determining means, the allowable range. If determined to be outside, the search range is set to the first search range, and if determined to be within the allowable range, the search range is narrower than the first search range and stored in the storage means. Search range setting means for setting a second search range including the in-focus position, and when the shutter button is operated, the search range setting means is controlled to set the search range, and the search range setting means The focus lens is moved within the search range set by the control means to adjust the focus, and the photometric value stored in the storage means and the control means for updating the in-focus position are provided. Is.
また、前記サーチ範囲設定手段は、前記測光値及び前記合焦位置が前記記憶手段に記憶されていない場合、前記サーチ範囲を前記第1のサーチ範囲に設定し、前記制御手段は、前記第1のサーチ範囲で前記フォーカスレンズを移動させて焦点調節を行うとともに、前記測光値及び前記合焦位置を前記記憶手段に記憶させることが好ましい。 The search range setting means sets the search range to the first search range when the photometric value and the in-focus position are not stored in the storage means, and the control means sets the first search range to the first search range. It is preferable to adjust the focus by moving the focus lens within the search range, and to store the photometric value and the in-focus position in the storage means.
さらに、前記制御手段は、前記シャッタボタン以外の操作ボタンが操作された時に、前記記憶手段に記憶された前記測光値及び前記合焦位置を無効にすることが好ましい。 Furthermore, it is preferable that the control means invalidates the photometric value and the focus position stored in the storage means when an operation button other than the shutter button is operated.
また、前記撮影レンズはズームレンズを備え、前記第1及び第2のサーチ範囲の幅及び位置は、前記ズームレンズの位置に基づいて変更されることが好ましい。 The photographing lens preferably includes a zoom lens, and the width and position of the first and second search ranges are changed based on the position of the zoom lens.
本発明の撮影装置は、シャッタボタンが操作された時に、フォーカスレンズを所定のサーチ範囲で移動させながら、固体撮像素子によって撮像された画像データの高周波成分の積分値であるAF評価値を逐次算出し、これらのAF評価値に基づいて前記フォーカスレンズを合焦位置に移動させて、撮影レンズの焦点調節を行う撮影装置であり、前記AF評価値を算出するとともに、前記AF評価値の最大値を検出するAF検出手段と、前記AF検出手段によって検出された前記AF評価値の最大値、及び前記合焦位置を記憶する記憶手段と、前記AF検出手段によって検出された前記最大値と、前記記憶手段に記憶された前回の焦点調節時の最大値とを比較し、その変化量が許容範囲以内であるか否かを判定するAF評価値判定手段と、前記最大値及び前記合焦位置が前記記憶手段に記憶されていない場合、前記サーチ範囲を第1のサーチ範囲に設定し、前記最大値及び前記合焦位置が前記記憶手段に記憶されている場合、前記第1のサーチ範囲よりも狭く、前記記憶手段に記憶された前回の合焦位置を含む第2のサーチ範囲に設定し、前記AF評価値判定手段によって、前記第2のサーチ範囲における前記変化量が前記許容範囲外であると判定された場合、前記サーチ範囲を前記第1のサーチ範囲に設定するサーチ範囲設定手段と、前記シャッタボタンが操作された時に、前記サーチ範囲設定手段を制御して前記サーチ範囲を設定させ、このサーチ範囲設定手段によって設定されたサーチ範囲で前記フォーカスレンズを移動させて焦点調節を行うとともに、前記記憶手段に記憶された前記最大値、及び前記合焦位置を更新する制御手段とを備えていることを特徴とするものである。 The photographing apparatus of the present invention sequentially calculates an AF evaluation value that is an integral value of high-frequency components of image data captured by a solid-state image sensor while moving the focus lens within a predetermined search range when the shutter button is operated. And an imaging device that adjusts the focus of the imaging lens by moving the focus lens to an in-focus position based on these AF evaluation values, calculates the AF evaluation value, and sets the maximum value of the AF evaluation value. An AF detection means for detecting, a maximum value of the AF evaluation value detected by the AF detection means, a storage means for storing the in-focus position, the maximum value detected by the AF detection means, An AF evaluation value determining means that compares the maximum value at the time of the previous focus adjustment stored in the storage means and determines whether or not the change amount is within an allowable range; When the large value and the in-focus position are not stored in the storage unit, the search range is set as the first search range, and when the maximum value and the in-focus position are stored in the storage unit, The second search range is narrower than the first search range and includes the previous in-focus position stored in the storage unit, and the change in the second search range is performed by the AF evaluation value determination unit. When it is determined that the amount is outside the allowable range, search range setting means for setting the search range to the first search range, and when the shutter button is operated, the search range setting means is controlled. The search range is set, and the focus lens is moved within the search range set by the search range setting means to adjust the focus, and stored in the storage means. Said maximum value, and is characterized in that it comprises a control means for updating the focus position.
また、前記制御手段は、前記シャッタボタン以外の操作ボタンが操作された時に、前記記憶手段に記憶された前記最大値、及び前記合焦位置を無効にすることが好ましい。 The control means preferably invalidates the maximum value and the in-focus position stored in the storage means when an operation button other than the shutter button is operated.
さらに、前記撮影レンズはズームレンズを備え、前記第1及び第2のサーチ範囲の幅及び位置は、前記ズームレンズの位置に基づいて変更されることが好ましい。 Furthermore, it is preferable that the photographing lens includes a zoom lens, and the width and position of the first and second search ranges are changed based on the position of the zoom lens.
本発明の撮影装置は、シャッタボタンが操作された時に、フォーカスレンズを所定のサーチ範囲で移動させながら、固体撮像素子によって撮像された画像データの高周波成分の積分値であるAF評価値を逐次算出し、これらのAF評価値に基づいて前記フォーカスレンズを合焦位置に移動させて、撮影レンズの焦点調節を行う撮影装置にであり、前記AF評価値を算出するとともに、前記AF評価値の最大値を検出するAF検出手段と、第1のサーチ範囲で前記フォーカスレンズを移動させて前記AF検出手段によって検出された前記最大値と、この最大値を評価するための基準値とを比較し、前記最大値が前記基準値以上であるか否かを判定するAF評価値判定手段と、前記シャッタボタンが操作された時に、前記サーチ範囲として第1のサーチ範囲を設定し、前記AF評価値判定手段によって、前記最大値が前記基準値以上ではないと判定された場合、前記第1のサーチ範囲よりも広い第2のサーチ範囲に設定するサーチ範囲設定手段と、前記サーチ範囲設定手段を制御して前記サーチ範囲を設定させ、このサーチ範囲設定手段によって設定されたサーチ範囲で前記フォーカスレンズを移動させる制御手段とを備えていることを特徴とするものである。 The photographing apparatus of the present invention sequentially calculates an AF evaluation value that is an integral value of high-frequency components of image data captured by a solid-state image sensor while moving the focus lens within a predetermined search range when the shutter button is operated. Then, based on these AF evaluation values, the focus lens is moved to an in-focus position to adjust the focus of the photographing lens. The AF evaluation value is calculated, and the maximum AF evaluation value is calculated. Comparing the AF detection means for detecting a value with the maximum value detected by the AF detection means by moving the focus lens in a first search range and a reference value for evaluating the maximum value; AF evaluation value determining means for determining whether or not the maximum value is equal to or greater than the reference value, and a first search range as the search range when the shutter button is operated. A search range that is set to a second search range wider than the first search range when the AF evaluation value determination means determines that the maximum value is not greater than or equal to the reference value. A setting unit; and a control unit configured to control the search range setting unit to set the search range, and to move the focus lens within the search range set by the search range setting unit. Is.
また、前記第2のサーチ範囲は、前記第1のサーチ範囲に対して、前記撮影レンズの温度特性による誤差を吸収するためのオーバーサーチ量を加えたサーチ範囲であることが好ましい。 The second search range is preferably a search range obtained by adding an oversearch amount for absorbing an error due to temperature characteristics of the photographing lens to the first search range.
さらに、前記撮影レンズはズームレンズを備え、前記第1及び第2のサーチ範囲の幅及び位置は、前記ズームレンズの位置に基づいて変更されることが好ましい。 Furthermore, it is preferable that the photographing lens includes a zoom lens, and the width and position of the first and second search ranges are changed based on the position of the zoom lens.
本発明の撮影装置によれば、測光値の変化量が許容範囲以内である場合、フォーカスレンズのサーチ範囲を第1のサーチ範囲より狭く、前回の合焦位置を含む第2のサーチ範囲で、フォーカスレンズを移動させて焦点調節が行われるので、測光値の変化量が小さい場合には、同一の被写体である可能性が高いため、合焦位置周辺の狭いサーチ範囲で焦点調節を行うことができるので、撮影レンズの焦点調節に要する時間を短縮することができる。また、測距センサ等の高価な部品を必要としないため、低コストで製造可能である。 According to the photographing apparatus of the present invention, when the change amount of the photometric value is within the allowable range, the search range of the focus lens is narrower than the first search range, and the second search range including the previous in-focus position, Since focus adjustment is performed by moving the focus lens, it is highly possible that the subject is the same subject when the amount of change in the photometric value is small, so it is possible to adjust the focus within a narrow search range around the in-focus position. As a result, the time required to adjust the focus of the taking lens can be shortened. Further, since expensive parts such as a distance measuring sensor are not required, it can be manufactured at low cost.
また、シャッタボタン以外の操作が行われた時は、被写体が変わることが多いため、記憶手段に記憶された測光値及び合焦位置が自動的に無効にされる。このため、被写体が変わった時に、前回の合焦位置を含む狭いサーチ範囲である第2のサーチ範囲で焦点調節されることを防止できる。 Also, when an operation other than the shutter button is performed, the subject often changes, so the photometric value and the focus position stored in the storage means are automatically invalidated. For this reason, when the subject changes, it is possible to prevent the focus from being adjusted in the second search range, which is a narrow search range including the previous in-focus position.
また、本発明の撮影装置によれば、前回の焦点調節時におけるAF評価値の最大値と合焦位置が記憶手段に記憶されている場合、前回の合焦位置を含む狭い範囲である第2のサーチ範囲でAFサーチ処理を行い、このAFサーチ処理で検出されたAF評価値の最大値と、前回のAF評価値の最大値とを比較して、これらの変化量が許容範囲内の場合に、今回の最大値に対応する位置を合焦位置とする。このため、撮影レンズの焦点調節処理に要する時間を短縮することが可能である。また、測距センサ等の高価な部品を必要としないため、低コストで製造可能である。 According to the photographing apparatus of the present invention, when the maximum value of the AF evaluation value and the focus position at the time of the previous focus adjustment are stored in the storage unit, the second range which is a narrow range including the previous focus position. When the AF search process is performed in the search range, and the maximum AF evaluation value detected in the AF search process is compared with the maximum value of the previous AF evaluation value, and these variations are within the allowable range In addition, the position corresponding to the current maximum value is set as the in-focus position. For this reason, it is possible to shorten the time required for the focus adjustment processing of the photographing lens. Further, since expensive parts such as a distance measuring sensor are not required, it can be manufactured at low cost.
また、本発明の撮影装置によれば、シャッタボタンが操作された時に、最初に、第2のサーチ範囲よりも狭い第1のサーチ範囲でAFサーチ処理を行い、このAFサーチ処理によって取得されたAF評価値の最大値が基準値以上の場合、この最大値に対応する位置を合焦位置とする。このため、撮影レンズの焦点調節処理に要する時間を短縮することが可能である。また、測距センサ等の高価な部品を必要としないため、低コストで製造可能である。 Further, according to the photographing apparatus of the present invention, when the shutter button is operated, first, the AF search process is performed in the first search range narrower than the second search range, and the AF search process is acquired. When the maximum value of the AF evaluation value is greater than or equal to the reference value, the position corresponding to this maximum value is set as the in-focus position. For this reason, it is possible to shorten the time required for the focus adjustment processing of the photographing lens. Further, since expensive parts such as a distance measuring sensor are not required, it can be manufactured at low cost.
図1及び図2に示すデジタルカメラ10は、カメラ本体11の前面に、スライド自在なレンズバリア12を備えており、ユーザの操作によりスライド移動される。このレンズバリア12を開放位置(図1に示す位置)に移動させると、撮影レンズ13、及びストロボ発光部14が前面に露呈される。
A digital camera 10 shown in FIGS. 1 and 2 includes a
また、このレンズバリア12は、電源操作部材を兼用しており、開放位置(図1に示す位置)にスライドされた時に電源がONとなり、撮影レンズ13及びストロボ発光部14が遮蔽される遮蔽位置に移動された時に電源がOFFとなる。また、カメラ本体11の前面には、光学ファインダを構成するファインダ対物窓15が設けられている。
The
カメラ本体11の背面には、LCD16と、光学ファインダを構成するファインダ接眼窓17と、操作部18とが設けられている。LCD16には、再生画像、各種設定画面、及びスルー画等が表示される。
On the back surface of the camera body 11, an
操作部18は、モード切替スイッチ21、戻しボタン22、送りボタン23、ズームボタン24、メニューボタン25、キャンセルボタン26、及び表示ボタン27で構成されている。モード切替スイッチ21は、撮影モードと再生モードとを切り替える際に操作される。また、戻しボタン22及び送りボタン23は、再生モード時に再生画像を逆送り及び順送りする際に押圧操作される。
The
ズームボタン24は、撮影レンズ13のズームレンズをワイド端とテレ端との間で光軸方向に移動させて光学撮影倍率を変更する際に、ユーザによって上下方向に押圧操作される。メニューボタン25は、メニュー画面をLCD16に表示させる際に、ユーザによって押圧操作される。
The zoom button 24 is pressed in the vertical direction by the user when the zoom lens of the photographing
キャンセルボタン26は、メニュー画面にて各種設定操作を途中でやめる場合や、前画面に戻す場合に押圧操作される。表示ボタン27は、LCD16のON,OFFを切り替える際に、撮影者によって押圧操作される。
The cancel
カメラ本体11の上面には、シャッタボタン28が設けられている。このシャッタボタン28は、2段押しのスイッチとなっている。撮影者が、LCD16または光学ファインダを用いてフレーミングを行った後、シャッタボタン28を軽く押圧(半押し)すると、露光調節、撮影レンズ13の焦点調節などの各種撮影準備処理が施される。また、シャッタボタン28を半押し状態からさらに押し込んで全押しすると、撮影処理が実行される。
A
カメラ本体11の側面には、メモリカードスロット29と、外部出力端子30とが設けられている。メモリカードスロット29には、画像データが記録される記録媒体であるメモリカード31が着脱自在に装填される。外部出力端子30は、例えば、USB端子であり、メモリカード31に記録された画像データを外部装置(パーソナルコンピュータ等)に出力する際に使用される。
A
次に、デジタルカメラ10の電気的構成について、図3を用いて説明を行う。デジタルカメラ10には、カメラ全体を制御する制御手段であるCPU40が設けられている。このCPU40には、ROM41及びRAM42が接続されている。ROM41には、制御プログラムや、各種制御用データが記憶されており、CPU40は、これらの制御プログラムや制御用データに基づいて、カメラ内の各部を制御する。RAM42には、作業用データが一時的に記憶される。また、このRAM42は、前回のAE及びAF処理時における測光値、及びフォーカスレンズの合焦位置を記憶する記憶手段である。
Next, the electrical configuration of the digital camera 10 will be described with reference to FIG. The digital camera 10 is provided with a
また、CPU40には、前述のシャッタボタン28や、操作部18が接続されている。CPU40は、これらから操作信号を取得して各操作信号に対応する処理を実行する。
Further, the
撮影レンズ13は、ズームレンズ43と、絞り44と、フォーカスレンズ45とを備えており、ズームレンズ43及びフォーカスレンズ45は、光軸方向に移動可能にされている。ズームレンズ43は、モータ46によって光軸方向に移動され、フォーカスレンズ45は、モータ47によって光軸方向に移動される。モータ46は、モータドライバ48を介してCPU40に接続されており、モータ47は、モータドライバ49を介してCPU40に接続されている。
The photographing
CPU40は、モータドライバ48を制御してモータ46を駆動し、ズームレンズ44を光軸方向に移動させて光学撮影倍率を変更する。また、CPU40は、モータドライバ49を制御してモータ47を駆動し、フォーカスレンズ45を光軸方向に移動させて焦点調節を行う。
The
また、絞り44は、モータ50によって開口径が変更され、後述するCCDイメージセンサ(固体撮像素子)52に入射する被写体光の光量が変化する。このモータ50は、モータドライバ51を介してCPU40に接続されており、このモータドライバ51を制御してモータ50を駆動し、絞り44の開口径を調節する。
The aperture of the
撮影レンズ13の背後には、撮影レンズ13を透過した被写体光を撮像する固体撮像素子であるCCDイメージセンサ52が配置されており、このCCDイメージセンサ52には、CCDドライバ53が接続されている。CCDドライバ53は、タイミングジェネレータ54から入力されるクロックパルスに応じて、垂直駆動信号及び水平駆動信号をCCDイメージセンサ52に入力して、CCDイメージセンサ52を駆動する。
Behind the
このタイミングジェネレータ54は、CPU40に接続されており、CPU40は、タイミングジェネレータ54を制御して、クロックパルスを発生させることによって、CCDイメージセンサ40の駆動を制御する。
The
また、CCDイメージセンサ52には、相関二重サンプリング回路(CDS)55、及びAMP56が接続されている。これらによって、CCDイメージセンサ52から出力された撮像信号に対して、ノイズの除去や増幅が施される。
The
その後、撮像信号が、A/D変換器57によってデジタル信号の画像データに変換されて、画像入力コントローラ58に出力される。画像入力コントローラ58は、データバス59を介してフレームメモリ60が接続されている。CPU40は、画像入力コントローラ58を制御して、画像データをフレームメモリ60に記憶させる。
Thereafter, the image pickup signal is converted into image data of a digital signal by the A /
また、データバス59には、画像入力コントローラ58やフレームメモリ60の他に、CPU40、AE検出部61、AF検出部62、サーチ範囲設定部63、画像信号処理部64、圧縮伸張処理部65、LCDドライバ66、メディアコントローラ67、及びAFピーク判断部68が接続されている。
In addition to the
AE検出部61は、画像データに基づいて測光を行う測光手段であり、測光値をCPU40に出力する。なお、このAE検出部61は、画像全体の輝度値を積分する平均測光ではなく、画像の中央部に重み付けを大きくして、輝度値を積分する中央重点測光方式で測光を行う。また、AF検出部62は、フォーカスレンズ45が所定のサーチ範囲内で移動されている時に、画像データの高周波成分を積分してAF評価値を逐次算出し、これらのAF評価値の最大値を検出する。また、AFピーク判断部68は、AF評価値の最大値がAFピークであるか否かを判断する。
The
CPU40は、測光値を取得すると、この測光値に基づいて、CCDイメージセンサ52に入射する被写体光量が最適になるように、CCDイメージセンサ52の電子シャッタ速度、及び絞り44を制御する。また、CPU40は、AFピーク判断部68を制御して、AF検出部62によって検出されたAF評価値の最大値が、AFピークであるか否かを判定させる。AF評価値の最大値がAFピークであると判定された場合、CPU40は、フォーカスレンズ45をAF評価値の最大値に対応する位置に移動させる。また、AF評価値の最大値がAFピークでないと判定された場合、CPU40は、フォーカスレンズ45をパンフォーカス位置に移動させる。
When acquiring the photometric value, the
CPU40は、測光値X及び合焦位置がRAM42に記憶されていない場合、シャッタボタン28が半押しされた時に、AE検出部61によって検出された測光値Xと、フォーカスレンズ45の合焦位置とをRAM42に記憶させる。次に、シャッタボタン28が半押しされると、CPU40は、AE検出部61から測光値Yを取得するとともに、RAM42に記憶された前回の測光値X及び合焦位置と、測光値Yとをサーチ範囲設定部63に入力する。
When the photometry value X and the focus position are not stored in the
サーチ範囲設定部63には、図4に示すように、内部パラメータとして、測光値の変化量の許容値β、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、及び狭域サーチ終了位置Nが記憶されており、前述したように、測光値Xと、測光値Yと、前回の合焦位置とが入力される。また、このサーチ範囲設定部63には、測光値Xと測光値Yとを比較し、測光値の変化量(X−Y)が、許容範囲(−β≦X−Y≦β)以内であるか否かを判定する測光値判定部63aが設けられている。
As shown in FIG. 4, the search
サーチ範囲設定部63は、測光値判定部63aによって、許容範囲(−β≦X−Y≦β)以内でないと判定された場合、図5に示す全域サーチ範囲(第1のサーチ範囲)に、フォーカスレンズ45のサーチ範囲を設定し、この全域サーチに対応する全域サーチ開始位置P、及び全域サーチ終了位置QをCPU40に出力する。また、測光値判定部63aによって、許容範囲(−β≦X−Y≦β)以内であると判定された場合、図5に示す狭域サーチ範囲(第2のサーチ範囲)に、フォーカスレンズ45のサーチ範囲を設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、及び狭域サーチ終了位置NをCPU40に出力する。なお、この狭域サーチ範囲は、前述の全域サーチ範囲よりも狭く、前回の合焦位置Gを含む範囲であり、狭域サーチ開始位置M、及び狭域サーチ終了位置Mは、前回の合焦位置Gの前後に設定される。
When the photometric
また、下表1に示すように、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、狭域サーチ終了位置Nは、ズームレンズ43の位置に対応して変更され、狭域及び全域サーチ範囲の位置や幅が変更される。例えば、ズームレンズが位置Z1(WIDE端)にある場合、この位置に対応する全域サーチ開始位置P=P1、全域サーチ終了位置Q=Q1、狭域サーチ開始位置M=M1、狭域サーチ開始位置N=N1となる。
Further, as shown in Table 1 below, the entire area search start position P, the entire area search end position Q, the narrow area search start position M, and the narrow area search end position N are changed according to the position of the
サーチ範囲設定部63は、前回の測光値X及び合焦位置がRAM42に記憶されていない場合、フォーカスレンズ45のサーチ範囲を全域サーチ範囲に設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、及び全域サーチ終了位置QをCPU40に出力する。
When the previous photometric value X and the focus position are not stored in the
CPU40は、サーチ範囲設定部63を制御してフォーカスレンズ45のサーチ範囲を設定させ、サーチ範囲設定部63によって設定されたサーチ範囲に基づいて、フォーカスレンズ45を移動させて、AFサーチ処理を行う。
The
画像信号処理部64は、画像データがフレームメモリ60に記憶されている間に、階調変換処理、色補間処理、YC変換処理等の各種画像処理を施す。スルー画用の低解像度の画像データがフレームメモリ60に記憶されている場合、この画像信号処理部64によって、前述の画像処理が施された後、画像データがデータバスを介してLCDドライバ66に送信される。LCDドライバ66は、LCD16に画像を表示するために、画像データに対して信号処理を施して、画像をLCD16に表示させる。
The image
また、記録用の高解像度の画像データがフレームメモリ60に記憶されている場合、画像信号処理部64によって、前述の画像処理が施された後、圧縮伸張処理部65によって、画像データに対してJPEG方式等の圧縮形式で圧縮処理が施される。圧縮処理が施された画像データは、メディアコントローラ67によって、記録メディアであるメモリカード31に記録される。
When high-resolution image data for recording is stored in the
また、再生モードでは、メディアコントローラ67によって、メモリカード31から画像データが読み出され、この画像データがフレームメモリ60に一時的に記憶され、圧縮伸張処理部65によって、この画像データに対して伸張処理が施され、この画像がLCD16に表示される。
In the playback mode, image data is read from the
次に、上記構成のデジタルカメラ10の撮影処理について、図6及び図7のフローチャートを用いて説明する。デジタルカメラ10が撮影モードに設定されると、CPU40は、シャッタボタン28が半押しされているか否かを判定する。シャッタボタン28が半押しされていないと判定された場合、シャッタボタン28が半押しされるまで待機状態となる。
Next, photographing processing of the digital camera 10 having the above configuration will be described with reference to the flowcharts of FIGS. When the digital camera 10 is set to the shooting mode, the
また、シャッタボタン28が半押しされたと判定された場合、測光値X及び合焦位置GがRAM42に記憶されているか否かを判定する。測光値X及び合焦位置GがRAM42に記憶されていないと判定された場合、CPU40は、AE検出部61から測光値Xを取得し、この測光値Xに基づいて露出制御を行う。その後、CPU40は、サーチ範囲設定部63を制御してサーチ範囲を設定させる。この時、サーチ範囲設定部63には、測光値X及び合焦位置Gが入力されていないので、サーチ範囲を全域サーチに設定し、全域サーチ開始位置P、及び全域サーチ終了位置QをCPU40に出力する。CPU40は、これらの全域サーチ開始位置P、及び全域サーチ終了位置Qに基づいて、フォーカスレンズ45を移動させて、AFサーチ処理を行う。
If it is determined that the
以下に、AFサーチ処理について、図8のフローチャートを用いて説明する。CPU40は、AF評価値を算出するためのAFエリアを設定する。なお、このAFエリアは、CCDイメージセンサ52によって撮像された画像の中央に設定される。
The AF search process will be described below with reference to the flowchart in FIG. The
また、CPU40は、AE検出部61から取得した測光値に基づいて、AFサーチに最適な露出(絞り、電子シャッタ速度等)や、CCD駆動モードや、感度(ゲイン)を設定する。
Further, the
さらに、CPU40は、AFサーチに使用するCCD駆動モードに応じて、フィルタの帯域を設定する。なお、このフィルタは、画像データの高周波成分のみを抽出するためのフィルタである。CPU40は、全域サーチ開始位置Pにフォーカスレンズ45を移動させる。
Further, the
その後、CPU40は、全域サーチ終了位置Qまでフォーカスレンズ45をステップ毎に移動させながら、AF検出部62が画像データに基づいてAF評価値を逐次算出し、AF評価値の最大値を検出する。例えば、全域サーチ開始位置PがINF端側に設定され、全域サーチ終了位置QがNEAR端側に設定されている場合、CPU40は、図9に示すように、INF端側からNEAR端側に向かってフォーカスレンズ45を移動させながら、AF検出部62を制御して、AF評価値の最大値を検出させる。なお、前述の1ステップは、許容錯乱円径の1個分であり、ズームレンズの位置(WIDE端やTELE端)により、このステップ幅が変化する。つまり、TELE端においては、このステップ数が増加する。以上で、AFサーチ処理が終了する。
Thereafter, while the
また、測光値X及び合焦位置GがRAM42に記憶されていると判定された場合、CPU40は、AE検出部61から測光値Yを所得し、この測光値Yに基づいて露出制御を行う。さらに、CPU40は、RAM42に記憶された前回の測光値X及び合焦位置Gを取得し、2つの測光値X,Yと、合焦位置Gをサーチ範囲設定部63に入力する。
When it is determined that the photometric value X and the in-focus position G are stored in the
サーチ範囲設定部63は、測光値の変化量(X−Y)が、許容範囲(−β≦X−Y≦β)以内か否かを判定する。許容範囲(−β≦X−Y≦β)以内ではないと判定された場合、フォーカスレンズ45のサーチ範囲として全域サーチ範囲を設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、及び全域サーチ終了位置QをCPU40に出力する。CPU40は、この開始位置P及び終了位置Qに基づいて、フォーカスレンズ45を全域サーチ範囲で移動させ、前述の場合と同様に、AFサーチ処理を行う。
The search
また、許容範囲(−β≦X−Y≦β)以内であると判定された場合、サーチ範囲設定部63は、フォーカスレンズ45のサーチ範囲として狭域サーチ範囲を設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、及び狭域サーチ終了位置NをCPU40に出力する。この狭域サーチ開始位置M、及び狭域サーチ終了位置Nは、前回の合焦位置Gを挟んで前後に設定され、例えば、図10に示すように、前回の合焦位置Gの前後に設定される。なお、狭域サーチ開始位置N、狭域サーチ終了位置Mは、合焦位置の前後2ステップの位置でも良いし、前後3ステップの位置でも良く、適宜設定可能である。CPU40は、狭域サーチ開始位置M、及び狭域サーチ終了位置Nに基づいて、フォーカスレンズ45を狭域サーチ範囲で移動させて、前述の場合と同様に、AFサーチ処理を行う。
When it is determined that the value is within the allowable range (−β ≦ X−Y ≦ β), the search
その後、CPU40は、AFピーク判断部68を制御して、AFサーチ処理によって検出されたAF評価値の最大値が、AFピークであるか否かを判定させる。AF評価値の最大値がAFピークでないと判定された場合、CPU40は、フォーカスレンズ45をパンフォーカス位置に移動させる。また、AF評価値の最大値がAFピークであると判定された場合、この最大値に対応する位置が合焦位置であると判断し、CPU40は、この合焦位置にフォーカスレンズ45を移動させる。
Thereafter, the
CPU40は、RAM42に記憶された前回の測光値X及び合焦位置Gを今回の測光値及び合焦位置に更新する。また、RAM42に測光値X及び合焦位置Gが記憶されていない場合、今回の測光値及び合焦位置を新たにRAM42に記憶させる。
The
その後、CPU40は、シャッタボタン28の半押しが解除されたか否かを判定する。半押しが解除されたと判定された場合、シャッタボタン28以外の操作ボタン(例えば、モード切替スイッチ21、ズームボタン24等)が操作されたか否かを判定する。シャッタボタン28以外の操作ボタンが操作されていないと判定された場合、シャッタボタン28が半押しされたか否かの判定処理に戻る。また、シャッタボタン28以外の操作ボタンが操作されたと判定された場合、RAM42に記憶された測光値A及び合焦位置Gを無効に(消去)して、シャッタボタン28が半押しされたか否かの判定処理に戻る。
Thereafter, the
また、シャッタボタン28の半押しが解除されていないと判定された場合、CPU40は、シャッタボタン28が全押しされたか否かの判定を行う。シャッタボタン28が全押しされていないと判定された場合、シャッタボタン28の半押しが解除されたか否かの判定処理に戻る。また、シャッタボタン28が全押しされたと判定された場合、CPU40は、各部を制御して撮像を実行させる。
When it is determined that the half-press of the
その後、CPU40は、圧縮伸張処理部65を制御して、画像データに対して圧縮処理を施した後、メディアコントローラ67を制御して、圧縮処理が施された画像データをメモリカード31に記録して撮影処理が終了する。
Thereafter, the
前述のように、測光値の変化量が許容範囲以内である場合、撮影対象である被写体が変更されていないと判断し、フォーカスレンズ45のサーチ範囲を狭域サーチ範囲に設定し、狭い範囲でAFサーチ処理を行う。このため、撮影レンズの焦点調節処理に要する時間を短縮できる。
As described above, when the change amount of the photometric value is within the allowable range, it is determined that the subject to be imaged is not changed, the search range of the
なお、上記第1の実施形態において、前回の測光値X及び合焦位置GがRAM42に記憶される場合について説明したが、電源がOFFにされてもデータが消去されないフラッシュメモリに記憶させても良い。また、前回の測光値X及び合焦位置Gをサーチ範囲設定部63内のメモリに記憶させても良い。
In the first embodiment, the case where the previous photometric value X and the in-focus position G are stored in the
また、測光値判定部63aをサーチ範囲設定部63内に設ける場合を例に説明したが、サーチ範囲設定部63の外部に設けても良い。さらに、フォーカスレンズ45をINF端側からNEAR端側に移動させて、AFサーチ処理を行う場合を例に説明したが、これに限るものではなく、逆にNEAR端側からINF端側に移動させても良い。
Moreover, although the case where the photometric
次に、第2の実施形態であるデジタルカメラ70について説明する。デジタルカメラ70には、図11に示すように、サーチ範囲設定部71が設けられている。また、デジタルカメラ10とは異なり、RAM42には、前回の焦点調節時におけるAF評価値の最大値Aと、合焦位置Gとが記憶される。
Next, a digital camera 70 according to the second embodiment will be described. The digital camera 70 is provided with a search
CPU40は、AF評価値A及び合焦位置GがRAM42に記憶されていない場合、シャッタボタン28が半押しされて、焦点調節を行った時に、AF検出部62によって検出されたAF評価値の最大値A、及びフォーカスレンズ45の合焦位置GをRAM42に記憶させる。また、前述の最大値A及び合焦位置GがRAM42に記憶されている状態で、シャッタボタン28が半押しされて焦点調節が行われると、CPU40は、AF検出部62からAF評価値の最大値Bを検出し、RAM42に記憶された前回の最大値A、前回の合焦位置G、及び今回の最大値Bをサーチ範囲設定部71に入力する。
When the AF evaluation value A and the in-focus position G are not stored in the
サーチ範囲設定部71は、図12に示すように、内部パラメータとして、AF評価値の最大値の変化値α、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、及び狭域サーチ終了位置Nが記憶されており、前述したように、前回のAF評価値の最大値Aと、前回の合焦位置Gと、今回のAF評価値の最大値Bとが入力される。また、サーチ範囲設定部71には、これらの最大値A,Bを比較し、これらの変化量が、許容範囲(−α≦A−B≦α)以内であるか否かを判定するAF評価値判定部71aが設けられている。
As shown in FIG. 12, the search
サーチ範囲設定部71は、前回の最大値Aと、前回の合焦位置GとがRAM42に記憶されていない場合、フォーカスレンズ45のサーチ範囲を全域サーチ範囲(第1のサーチ範囲)に設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、及び全域サーチ終了位置QをCPU40に出力する。また、サーチ範囲設定部71は、前回の最大値Aと、前回の合焦位置GとがRAM42に記憶されている場合、フォーカスレンズ45のサーチ範囲を狭域サーチ範囲(第2のサーチ範囲)に設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、及び狭域サーチ終了位置NをCPU40に出力する。
When the previous maximum value A and the previous in-focus position G are not stored in the
また、AF評価値判定部71aは、RAM42に記憶された前回のAF評価値の最大値Aと、狭域サーチ範囲でAFサーチ処理を行って検出されたAF評価値の最大値Bとを比較し、AF評価値の変化量(A−B)が許容範囲(−α≦A−B≦α)以内であるか否かを判定する。許容範囲(−α≦A−B≦α)ではないと判定された場合、サーチ範囲設定部71は、フォーカスレンズ45のサーチ範囲を全域サーチ範囲に設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、全域サーチ終了位置QをCPU40に出力する。
In addition, the AF evaluation
なお、これらの全域サーチ範囲及び狭域サーチ範囲は、デジタルカメラ10の場合と同様であり、この狭域サーチ範囲は、全域サーチ範囲よりも狭く、前回の合焦位置Gを含む範囲であり、狭域サーチ開始位置M、及び狭域サーチ終了位置Mは、前回の合焦位置Gの前後に設定される。また、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、及び狭域サーチ終了位置Nは、前述のデジタルカメラ10,70の場合と同様に、表1に示すようにズームレンズ43の位置に対応して変更され、狭域及び全域サーチ範囲の位置や幅が変更される。
Note that the entire area search range and the narrow area search range are the same as those of the digital camera 10, and this narrow area search range is narrower than the entire area search range and includes the previous in-focus position G. The narrow area search start position M and the narrow area search end position M are set before and after the previous focusing position G. Further, the entire area search start position P, the entire area search end position Q, the narrow area search start position M, and the narrow area search end position N are zoomed as shown in Table 1, as in the case of the digital cameras 10 and 70 described above. The position is changed according to the position of the
なお、その他は、デジタルカメラ10と同様の構成であり、同一の符号を付して詳しい説明を省略する。 The rest of the configuration is the same as that of the digital camera 10, and the same reference numerals are given and detailed description thereof is omitted.
次に、上記構成のデジタルカメラ70の撮影処理について、図13及び図14のフローチャートを用いて説明する。撮影モードに設定されると、CPU40は、シャッタボタン28が半押しされているか否かを判定する。シャッタボタン28が半押しされていないと判定された場合、シャッタボタン28が半押しされるまで待機状態となる。
Next, photographing processing of the digital camera 70 having the above configuration will be described with reference to the flowcharts of FIGS. When the shooting mode is set, the
また、シャッタボタン28が半押しされたと判定された場合、CPU40は、前回のAF評価値の最大値A及び合焦位置GがRAM42に記憶されているか否かを判定する。最大値A及び合焦位置GがRAM42に記憶されていないと判定された場合、CPU40は、サーチ範囲設定部71を制御してサーチ範囲を設定させる。この時、サーチ範囲設定部71には、最大値A及び合焦位置Gが入力されていないので、フォーカスレンズ45のサーチ範囲として全域サーチ範囲を設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、全域サーチ終了位置QをCPU40に出力する。
If it is determined that the
CPU40は、全域サーチ範囲開始位置P、全域サーチ終了位置Qに基づいて、図15に示すように、全域サーチ範囲でAFサーチ処理を行い、AF評価値の最大値Aを取得する。その後、AF評価値の最大値AがAFピークであるか否かを判定する処理に進む。
Based on the global search range start position P and global search end position Q, the
最大値A及び合焦位置GがRAM42に記憶されていると判定された場合、CPU40は、サーチ範囲設定部71に最大値A及び合焦位置Gを入力する。サーチ範囲設定部71は、最大値A及び合焦位置Gが入力されると、フォーカスレンズ45のサーチ範囲として狭域サーチ範囲を設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、狭域サーチ終了位置NをCPU40に出力する。CPU40は、狭域サーチ開始位置M、狭域サーチ終了位置Nに基づいて、図16に示すように、狭域サーチ範囲でAFサーチ処理を行い、AF評価値の最大値Bを取得する。
When it is determined that the maximum value A and the in-focus position G are stored in the
CPU40は、この最大値Bをサーチ範囲設定部71に入力する。AF評価値判定部71aは、AF評価値の最大値Aと最大値Bとを比較し、その変化量(A−B)が、許容範囲(−α≦A−B≦α)以内であるか否かを判定する。許容範囲(−α≦A−B≦α)以内であると判定された場合、CPU40は、最大値Bに対応する位置が合焦位置であると判定し、この位置にフォーカスレンズ45を移動させる。例えば、図16に示すように、最大値Bが前回の最大値Aと変わらない場合、この位置を合焦位置であると判定し、全域サーチ範囲でのAFサーチ処理を行わない。
The
また、許容範囲(−α≦A−B≦α)以内ではないと判定された場合、サーチ範囲設定部71は、フォーカスレンズ45のサーチ範囲として全域サーチ範囲を設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、全域サーチ終了位置QをCPU40に出力する。CPU40は、全域サーチ開始位置P、全域サーチ終了位置Qに基づいて、全域サーチ範囲でAFサーチ処理を行い、AF評価値の最大値Bを取得する。例えば、図17に示すように、最大値Bが最大値Aよりも許容値αよりも下がった場合、全域サーチ範囲でAFサーチ処理を行って、再びAF評価値の最大値Bを取得する。その後、AF評価値の最大値BがAFピークであるか否かを判定する処理に進む。
If it is determined that the value is not within the allowable range (−α ≦ A−B ≦ α), the search
AF評価値の最大値がAFピークであるか否かを判定する処理は、AFピーク判断部68によって行われる。AFピーク判断部68は、AF評価値の最大値がAFピークであるか否かを判定する。AF評価値の最大値がAFピークであると判定された場合、CPU40は、この最大値に対応する位置が合焦位置であると判断し、この合焦位置にフォーカスレンズ45を移動させる。また、AF評価値の最大値がAFピークではないと判定された場合、CPU40は、フォーカスレンズ45をパンフォーカス位置に移動させる。
Processing for determining whether or not the maximum AF evaluation value is an AF peak is performed by the AF
フォーカスレンズ45が合焦位置またはパンフォーカス位置に移動された後、CPU40は、RAM42に記憶された前回の最大値A及び合焦位置Gを今回の最大値及び合焦位置に更新する。また、RAM42に最大値A及び合焦位置Gが記憶されていない場合、今回の最大値及び合焦位置を新たにRAM42に記憶させる。
After the
その後、CPU40は、シャッタボタン28の半押しが解除されたか否かを判定する。半押しが解除されたと判定された場合、シャッタボタン28以外の操作ボタン(例えば、モード切替スイッチ21や、ズームボタン24等)が操作されたか否かを判定する。シャッタボタン28以外の操作ボタンが操作されていないと判定された場合、シャッタボタン28が半押しされたか否かの判定処理に戻る。また、シャッタボタン28以外の操作ボタンが操作されたと判定された場合、RAM42に記憶された最大値A及び合焦位置Gを無効にして、シャッタボタン28が半押しされたか否かの判定処理に戻る。
Thereafter, the
また、シャッタボタン28の半押しが解除されていないと判定された場合、CPU40は、シャッタボタン28が全押しされたか否かの判定を行う。シャッタボタン28が全押しされていないと判定された場合、シャッタボタン28の半押しが解除されたか否かの判定処理に戻る。また、シャッタボタン28が全押しされたと判定された場合、CPU40は、各部を制御して撮像を実行させる。
When it is determined that the half-press of the
その後、CPU40は、圧縮伸張処理部65を制御して、画像データに対して圧縮処理を施した後、メディアコントローラ67を制御して、圧縮処理が施された画像データをメモリカード31に記録して撮影処理が終了する。
Thereafter, the
前述のように、シャッタボタン28が操作された時に、狭域サーチ範囲でAFサーチ処理を行い、このAFサーチ処理で検出されたAF評価値の最大値Bと、前回のAF評価値の最大値Aを比較して、これらの変化量が許容範囲内の場合に、この最大値Bに対応する位置を合焦位置とする。このため、撮影レンズ13の焦点調節処理に要する時間を短縮することが可能である。
As described above, when the
なお、前回のAF評価値の最大値A及び合焦位置Gが、RAM42に記憶される場合について説明したが、電源がOFFにされてもデータが消去されないフラッシュメモリに記憶させても良い。また、前回の最大値A及び合焦位置Gをサーチ範囲設定部71内のメモリに記憶させても良い。
Although the case where the maximum value A and the focus position G of the previous AF evaluation value are stored in the
また、AF評価値判定部71aをサーチ範囲設定部71内に設ける場合を例に説明したが、サーチ範囲設定部71の外部に設けても良い。さらに、フォーカスレンズ45をINF端側からNEAR端側に移動させて、AFサーチ処理を行う場合を例に説明したが、これに限るものではなく、逆にNEAR端側からINF端側に移動させても良い。
Moreover, although the case where the AF evaluation
次に、第3の実施形態であるデジタルカメラ80について説明する。デジタルカメラ80には、図18に示すように、サーチ範囲設定部80が設けられている。また、デジタルカメラ80は、デジタルカメラ10,70とは異なり、測光値や、AF評価値の最大値や、前回の合焦位置がRAM42には記憶されない。このサーチ範囲設定部80には、後述するように、AF評価値の最大値Dが入力される。
Next, a digital camera 80 according to the third embodiment will be described. As shown in FIG. 18, the digital camera 80 is provided with a search range setting unit 80. Unlike the digital cameras 10 and 70, the digital camera 80 does not store the photometric value, the maximum AF evaluation value, or the previous in-focus position in the
サーチ範囲設定部81には、図19に示すように、内部パラメータとして、AF評価値の基準値E、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、及び狭域サーチ開始位置Nが記憶されている。このサーチ範囲設定部81は、シャッタボタン28が半押しされた時に、最初に、フォーカスレンズ45のサーチ範囲として、狭域サーチ範囲(第1のサーチ範囲)を設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、及び狭域サーチ終了位置NをCPU40に出力する。
As shown in FIG. 19, the search
また、サーチ範囲設定部81には、前述の狭域サーチ範囲でのAFサーチ処理によって取得されたAF評価値の最大値Dが入力される。サーチ範囲設定部81は、この最大値Dと基準値Eとを比較し、最大値Dが基準値E以上であるか否かを判定するAF評価値判定部81aを備えている。
Further, the search
このAF評価値判定部81aによって、最大値Dが基準値E以上であると判定された場合、サーチ範囲設定部80は、サーチ範囲を出力しない。この時、CPU40は、AF評価値の最大値DがAFピークであると判断し、この位置を合焦位置としてフォーカスレンズ45を移動させる。また、最大値Dが基準値Eより小さいと判定された場合、フォーカスレンズ45のサーチ範囲として全域サーチ範囲(第2のサーチ範囲)を設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、及び全域サーチ終了位置Qを出力する。
When the AF evaluation value determination unit 81a determines that the maximum value D is greater than or equal to the reference value E, the search range setting unit 80 does not output the search range. At this time, the
なお、この全域サーチ範囲は、図20に示すように、狭域サーチ範囲に対して、撮影レンズ13の温度特性によって生じる誤差を吸収するためのオーバーサーチ量である温特マージンを加えたサーチ範囲である。また、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、及び狭域サーチ終了位置Nは、前述のデジタルカメラ10,70の場合と同様に、表1に示すようにズームレンズ43の位置に対応して変更され、狭域及び全域サーチ範囲の位置や幅が変更される。
As shown in FIG. 20, this whole area search range is a search range in which a temperature special margin which is an oversearch amount for absorbing an error caused by the temperature characteristic of the photographing
なお、その他の構成は、デジタルカメラ10,70と同様であり、同一の部品には、同一の符号を付して、詳しい説明を省略する。 Other configurations are the same as those of the digital cameras 10 and 70, and the same components are denoted by the same reference numerals and detailed description thereof is omitted.
次に、上記構成のデジタルカメラ80の撮影処理について、図21及び図22のフローチャートを用いて説明する。撮影モードに設定されると、CPU40は、シャッタボタン28が半押しされているか否かを判定する。シャッタボタン28が半押しされていないと判定された場合、シャッタボタン28が半押しされるまで待機状態となる。
Next, photographing processing of the digital camera 80 having the above configuration will be described with reference to the flowcharts of FIGS. When the shooting mode is set, the
また、シャッタボタン28が半押しされたと判定された場合、CPU40は、サーチ範囲設定部81を制御してサーチ範囲を設定させる。この時、サーチ範囲設定部81は、フォーカスレンズ45のサーチ範囲として狭域サーチ範囲を設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、及び狭域サーチ終了位置NとをCPU40に出力する。
When it is determined that the
CPU40は、図20に示すように、フォーカスレンズ45を狭域サーチ開始位置Mに移動させた後、狭域サーチ終了位置Nまでフォーカスレンズ45を移動させて、狭域サーチ範囲でAFサーチ処理を行う。また、CPU40は、AF検出部62からAF評価値の最大値Dを取得し、この最大値Dをサーチ範囲設定部81に入力する。
As shown in FIG. 20, after moving the
AF評価値判定部81aは、この最大値DとAF評価基準値Eとを比較し、D≧Eであるかいなかを判定する。D≧Eであると判定された場合、サーチ範囲設定部81からはサーチ範囲は出力されない。この時、CPU40は、最大値Dとなる位置がAFピークであり、この位置が合焦位置であると判断し、フォーカスレンズ45を最大値Dに対応する位置に移動させる。
The AF evaluation value determination unit 81a compares the maximum value D with the AF evaluation reference value E and determines whether D ≧ E. When it is determined that D ≧ E, the search range is not output from the search
また、D≧Eであると判定された場合、サーチ範囲設定部81は、フォーカスレンズ45のサーチ範囲として全域サーチ範囲を設定し、この全域サーチ範囲に対応する全域サーチ開始位置Pと、全域サーチ終了位置QとをCPU40に出力する。CPU40は、図20に示すように、全域サーチ範囲でフォーカスレンズ45を移動させて、AFサーチ処理を行い、AF評価値の最大値Dを再び取得する。その後、AF評価値の最大値DがAFピークであるか否かを判定する処理に進む。
If it is determined that D ≧ E, the search
最大値DがAFピークであるか否かを判定する処理は、AFピーク判断部68によって行われる。AFピーク判断部68は、最大値DがAFピークであるか否かを判定する。最大値DがAFピークであると判定された場合、CPU40は、最大値Dに対応する位置が合焦位置であると判断し、この合焦位置にフォーカスレンズ45を移動させる。また、最大値DがAFピークではないと判定された場合、CPU40は、フォーカスレンズ45をパンフォーカス位置に移動させる。
Processing for determining whether or not the maximum value D is an AF peak is performed by the AF
その後、CPU40は、シャッタボタン28の半押しが解除されたか否かを判定する。シャッタボタン28の半押しが解除されたと判定された場合、シャッタボタン28が半押しされたか否かを判定する処理に戻る。また、シャッタボタン28の半押しが解除されていないと判定された場合、CPU40は、シャッタボタン28が全押しされたか否かの判定を行う。
Thereafter, the
シャッタボタン28が全押しされていないと判定された場合、シャッタボタン28の半押しが解除されたか否かの判定処理に戻る。また、シャッタボタン28が全押しされたと判定された場合、CPU40は、各部を制御して撮像を実行させる。
If it is determined that the
その後、CPU40は、圧縮伸張処理部65を制御して、画像データに対して圧縮処理を施した後、メディアコントローラ67を制御して、圧縮処理が施された画像データをメモリカード31に記録して撮影処理が終了する。
Thereafter, the
前述ように、シャッタボタン28が半押しされた時に、最初に、温特マージンを含まない狭域サーチ範囲でAFサーチ処理を行い、このAFサーチ処理によって取得されたAF評価値の最大値Dが基準値E以上の場合、この最大値Dに対応する位置を合焦位置とする。このため、撮影レンズ13の焦点調節処理に要する時間を短縮することが可能である。
As described above, when the
なお、上記第3の実施形態において、AF評価値判定部81aをサーチ範囲設定部81内に設ける場合を例に説明したが、サーチ範囲設定部81の外部に設けても良い。また、狭域サーチ時に、フォーカスレンズ45をINF端側からNEAR端側に移動させ、全域サーチ時に、NEAR端側からINF端側に移動させる場合を例に説明したが、狭域サーチ時に、NEAR端側からINF端側に移動させ、全域サーチ時に、INF端側からNEAR端側に移動させても良い。
In the third embodiment, the case where the AF evaluation value determination unit 81a is provided in the search
なお、上記実施形態において、固体撮像素子としてCCDイメージセンサを用いた場合を例に説明したが、これに限るものではなく、例えば、CMOSイメージセンサを用いても良い。 In the above-described embodiment, the case where a CCD image sensor is used as a solid-state imaging device has been described as an example. However, the present invention is not limited to this, and for example, a CMOS image sensor may be used.
また、上記実施形態において、本発明の撮影装置をデジタルカメラに適用した場合を例に説明したが、これに限るものではなく、カメラ付き携帯電話や、静止画撮影可能なデジタルビデオカメラ等に本発明を適用しても良い。 In the above embodiment, the case where the photographing apparatus of the present invention is applied to a digital camera has been described as an example. However, the present invention is not limited to this, and the present invention is not limited to a mobile phone with a camera or a digital video camera capable of photographing a still image. The invention may be applied.
10,70,80 デジタルカメラ
11 カメラ本体
13 撮影レンズ
40 CPU
42 RAM
43 ズームレンズ
45 フォーカスレンズ
52 CCDイメージセンサ
63,71,81 サーチ範囲設定部
63a 測光値判定部
71a AF評価値判定部
81a AF評価値判定部
A,B,D AF評価値の最大値
E AF評価値の基準値
G 合焦位置
M 狭域サーチ開始位置
N 狭域サーチ終了位置
P 全域サーチ開始位置
Q 全域サーチ終了位置
X,Y 測光値
10, 70, 80 Digital camera 11
42 RAM
43
Claims (10)
前記シャッタボタンが操作された時に、前記画像データに基づいて測光を行う測光手段と、
前記測光手段によって測光された測光値、及び前記合焦位置を記憶する記憶手段と、
前記測光手段によって測光された測光値と、前記測光値記憶手段に記憶された前回の測光値とを比較し、その変化量が許容範囲以内であるか否かを判定する測光値判定手段と、
前記測光値判定手段によって、前記許容範囲外である判定された場合、前記サーチ範囲を第1のサーチ範囲に設定し、前記許容範囲以内であると判定された場合、前記第1のサーチ範囲より狭く、前記記憶手段に記憶された前回の合焦位置を含む第2のサーチ範囲に設定するサーチ範囲設定手段と、
前記シャッタボタンが操作された時に、前記サーチ範囲設定手段を制御して前記サーチ範囲を設定させ、このサーチ範囲設定手段によって設定されたサーチ範囲で前記フォーカスレンズを移動させて焦点調節を行うとともに、前記記憶手段に記憶された前記測光値及び前記合焦位置を更新する制御手段とを備えていることを特徴とする撮影装置。 When the shutter button is operated, an AF evaluation value that is an integral value of high-frequency components of image data captured by the solid-state image sensor is sequentially calculated while moving the focus lens within a predetermined search range, and these AF evaluation values In the photographing apparatus for adjusting the focus of the photographing lens by moving the focus lens to the in-focus position based on
A photometric means for performing photometry based on the image data when the shutter button is operated;
Storage means for storing the photometric value measured by the photometric means and the in-focus position;
A photometric value determination unit that compares the photometric value measured by the photometric unit with the previous photometric value stored in the photometric value storage unit, and determines whether or not the amount of change is within an allowable range;
When the photometric value determination means determines that the value is outside the allowable range, the search range is set to the first search range, and when it is determined that the value is within the allowable range, Narrow search range setting means for setting a second search range including the previous in-focus position stored in the storage means;
When the shutter button is operated, the search range setting means is controlled to set the search range, the focus lens is moved within the search range set by the search range setting means, and focus adjustment is performed. An imaging apparatus comprising: a control unit that updates the photometric value and the in-focus position stored in the storage unit.
前記AF評価値を算出するとともに、前記AF評価値の最大値を検出するAF検出手段と、
前記AF検出手段によって検出された前記AF評価値の最大値、及び前記合焦位置を記憶する記憶手段と、
前記AF検出手段によって検出された前記最大値と、前記記憶手段に記憶された前回の焦点調節時の最大値とを比較し、その変化量が許容範囲以内であるか否かを判定するAF評価値判定手段と、
前記最大値及び前記合焦位置が前記記憶手段に記憶されていない場合、前記サーチ範囲を第1のサーチ範囲に設定し、前記最大値及び前記合焦位置が前記記憶手段に記憶されている場合、前記第1のサーチ範囲よりも狭く、前記記憶手段に記憶された前回の合焦位置を含む第2のサーチ範囲に設定し、前記AF評価値判定手段によって、前記第2のサーチ範囲における前記変化量が前記許容範囲外であると判定された場合、前記サーチ範囲を前記第1のサーチ範囲に設定するサーチ範囲設定手段と、
前記シャッタボタンが操作された時に、前記サーチ範囲設定手段を制御して前記サーチ範囲を設定させ、このサーチ範囲設定手段によって設定されたサーチ範囲で前記フォーカスレンズを移動させて焦点調節を行うとともに、前記記憶手段に記憶された前記最大値、及び前記合焦位置を更新する制御手段とを備えていることを特徴とする撮影装置。 When the shutter button is operated, an AF evaluation value that is an integral value of high-frequency components of image data captured by the solid-state image sensor is sequentially calculated while moving the focus lens within a predetermined search range, and these AF evaluation values In the photographing apparatus for adjusting the focus of the photographing lens by moving the focus lens to the in-focus position based on
An AF detection means for calculating the AF evaluation value and detecting a maximum value of the AF evaluation value;
Storage means for storing the maximum value of the AF evaluation value detected by the AF detection means and the in-focus position;
AF evaluation for comparing the maximum value detected by the AF detection means with the maximum value at the time of the previous focus adjustment stored in the storage means and determining whether or not the change amount is within an allowable range. Value judging means;
When the maximum value and the in-focus position are not stored in the storage unit, the search range is set as a first search range, and the maximum value and the in-focus position are stored in the storage unit The second search range is narrower than the first search range and includes the previous in-focus position stored in the storage unit, and the AF evaluation value determination unit sets the second search range in the second search range. Search range setting means for setting the search range to the first search range when it is determined that the amount of change is outside the allowable range;
When the shutter button is operated, the search range setting means is controlled to set the search range, the focus lens is moved within the search range set by the search range setting means, and focus adjustment is performed. An imaging apparatus comprising: a control unit that updates the maximum value stored in the storage unit and the in-focus position.
前記AF評価値を算出するとともに、前記AF評価値の最大値を検出するAF検出手段と、
第1のサーチ範囲で前記フォーカスレンズを移動させて前記AF検出手段によって検出された前記最大値と、この最大値を評価するための基準値とを比較し、前記最大値が前記基準値以上であるか否かを判定するAF評価値判定手段と、
前記シャッタボタンが操作された時に、前記サーチ範囲として第1のサーチ範囲を設定し、前記AF評価値判定手段によって、前記最大値が前記基準値以上ではないと判定された場合、前記第1のサーチ範囲よりも広い第2のサーチ範囲に設定するサーチ範囲設定手段と、
前記サーチ範囲設定手段を制御して前記サーチ範囲を設定させ、このサーチ範囲設定手段によって設定されたサーチ範囲で前記フォーカスレンズを移動させる制御手段とを備えていることを特徴とする撮影装置。 When the shutter button is operated, an AF evaluation value that is an integral value of high-frequency components of image data captured by the solid-state image sensor is sequentially calculated while moving the focus lens within a predetermined search range, and these AF evaluation values In the photographing apparatus for adjusting the focus of the photographing lens by moving the focus lens to the in-focus position based on
An AF detection means for calculating the AF evaluation value and detecting a maximum value of the AF evaluation value;
The maximum value detected by the AF detection unit by moving the focus lens in the first search range is compared with a reference value for evaluating the maximum value, and the maximum value is equal to or greater than the reference value. AF evaluation value determining means for determining whether or not there is,
When the shutter button is operated, a first search range is set as the search range, and when the AF evaluation value determining unit determines that the maximum value is not equal to or greater than the reference value, the first search range is set. Search range setting means for setting a second search range wider than the search range;
An imaging apparatus comprising: control means for controlling the search range setting means to set the search range and moving the focus lens within the search range set by the search range setting means.
10. The photographing lens according to claim 8, wherein the photographing lens includes a zoom lens, and the width and position of the first and second search ranges are changed based on the position of the zoom lens. The imaging device described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005244805A JP2007057974A (en) | 2005-08-25 | 2005-08-25 | Photographing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005244805A JP2007057974A (en) | 2005-08-25 | 2005-08-25 | Photographing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007057974A true JP2007057974A (en) | 2007-03-08 |
Family
ID=37921525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005244805A Pending JP2007057974A (en) | 2005-08-25 | 2005-08-25 | Photographing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007057974A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008242226A (en) * | 2007-03-28 | 2008-10-09 | Fujifilm Corp | Photographing device and focusing control method of photographic lens |
JP2010156728A (en) * | 2008-12-26 | 2010-07-15 | Nikon Corp | Autofocus device and camera equipped with the autofocus device |
JP2011018996A (en) * | 2009-07-07 | 2011-01-27 | Nikon Corp | Imaging apparatus |
KR101082048B1 (en) | 2010-07-01 | 2011-11-10 | 엘지이노텍 주식회사 | Estimation method of auto focus search range of camera module |
KR101299645B1 (en) * | 2013-06-19 | 2013-08-23 | (주)태극기전 | Automatical control method for focusing digital optical instrument |
JP2014059405A (en) * | 2012-09-14 | 2014-04-03 | Ricoh Co Ltd | Imaging apparatus, focusing position detecting method, and focusing position detecting program |
KR101521184B1 (en) * | 2013-08-28 | 2015-05-18 | 삼성전기주식회사 | Camera module and control method thereof |
-
2005
- 2005-08-25 JP JP2005244805A patent/JP2007057974A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008242226A (en) * | 2007-03-28 | 2008-10-09 | Fujifilm Corp | Photographing device and focusing control method of photographic lens |
JP2010156728A (en) * | 2008-12-26 | 2010-07-15 | Nikon Corp | Autofocus device and camera equipped with the autofocus device |
JP2011018996A (en) * | 2009-07-07 | 2011-01-27 | Nikon Corp | Imaging apparatus |
KR101082048B1 (en) | 2010-07-01 | 2011-11-10 | 엘지이노텍 주식회사 | Estimation method of auto focus search range of camera module |
JP2014059405A (en) * | 2012-09-14 | 2014-04-03 | Ricoh Co Ltd | Imaging apparatus, focusing position detecting method, and focusing position detecting program |
KR101299645B1 (en) * | 2013-06-19 | 2013-08-23 | (주)태극기전 | Automatical control method for focusing digital optical instrument |
KR101521184B1 (en) * | 2013-08-28 | 2015-05-18 | 삼성전기주식회사 | Camera module and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5919543B2 (en) | Digital camera | |
JP4644883B2 (en) | Imaging device | |
JP4127491B2 (en) | Camera with auto focus function | |
US7663688B2 (en) | Image capture apparatus and focus adjustment method | |
JP4533860B2 (en) | Imaging apparatus and exposure control method | |
JP2006025238A (en) | Imaging device | |
JP2008129163A (en) | Photographing device and its control method | |
JP2003307669A (en) | Camera | |
JP2007248521A (en) | Image recording apparatus, image recording method, program and recording medium | |
JP2007057974A (en) | Photographing device | |
JP2007225897A (en) | Focusing position determination device and method | |
JP2007318534A (en) | Imaging device | |
JP4949717B2 (en) | In-focus position determining apparatus and method | |
JP4170194B2 (en) | Imaging device | |
JP4046276B2 (en) | Digital camera | |
JP2007094023A (en) | Focus adjustment method of focus lens and imaging apparatus | |
JP2006261928A (en) | Imaging apparatus and digital camera | |
JP2003319246A (en) | Digital camera | |
JP4813439B2 (en) | Imaging apparatus and control method thereof | |
JP4496051B2 (en) | Imaging device | |
JP2017009815A (en) | Focus detection device, focus detection method, and camera system | |
JP2003222787A (en) | Digital camera | |
JP2009088679A (en) | Photography device and its control method | |
JP2009086036A (en) | Imaging device and control method for imaging device | |
JP2006215327A (en) | Imaging apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20070117 |