JP2007057974A - Photographing device - Google Patents

Photographing device Download PDF

Info

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
Application number
JP2005244805A
Other languages
Japanese (ja)
Inventor
Shui O
守偉 王
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
Fujifilm Holdings Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Holdings Corp filed Critical Fujifilm Holdings Corp
Priority to JP2005244805A priority Critical patent/JP2007057974A/en
Publication of JP2007057974A publication Critical patent/JP2007057974A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a photographing device capable of shortening time required for AF processing at a low cost. <P>SOLUTION: A previous photometric value X and a previous focusing position G are stored in a RAM 42. When a shutter button 28 is half-depressed, the previous photometric value X, a photometric value Y obtained this time by performing photometry by an AE detection part 61 and the previous focusing position are input in a search range setting part 63. A photometric value decision part 63a which compares the photometric value X with the photometric value Y and decides whether or not the variation is within tolerance is provided in the search range setting part 63. When deciding that the variation is not within the tolerance, the search range setting part 63 sets a search range to an entire area search range, and when deciding that it is within the tolerance, the search range setting part 63 sets it to a narrow area search range narrower than the entire area search and including the previous focusing position. A CPU 40 performs focus adjustment processing of a photographic lens 13 by moving a focus lens 45 on the basis of the search range set by the search range setting part 63. <P>COPYRIGHT: (C)2007,JPO&INPIT

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参照)。
特開平5−163274号公報
In order to solve the above-described problem, a distance measuring sensor is provided, and after the focus lens is moved to the vicinity of the in-focus position based on the measurement result of the distance sensor, the focus lens is in a narrow range near the in-focus position. Is known to increase the speed of the AF processing by moving the lens (for example, see Patent Document 1).
JP-A-5-163274

しかしながら、上記特許文献1に記載されているように、測距センサを用いた場合、AF処理に要する時間を短縮することはできるが、製造コストが高くなるという問題がある。   However, as described in Patent Document 1, when a distance measuring sensor is used, the time required for AF processing can be shortened, but there is a problem that the manufacturing cost increases.

本発明は上記事情に鑑みてなされたものであり、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 slidable lens barrier 12 on the front surface of a camera body 11, and is slid by user operation. When the lens barrier 12 is moved to the open position (position shown in FIG. 1), the photographing lens 13 and the strobe light emitting unit 14 are exposed to the front surface.

また、このレンズバリア12は、電源操作部材を兼用しており、開放位置(図1に示す位置)にスライドされた時に電源がONとなり、撮影レンズ13及びストロボ発光部14が遮蔽される遮蔽位置に移動された時に電源がOFFとなる。また、カメラ本体11の前面には、光学ファインダを構成するファインダ対物窓15が設けられている。   The lens barrier 12 also serves as a power operation member. When the lens barrier 12 is slid to the open position (position shown in FIG. 1), the power is turned on and the photographing lens 13 and the strobe light emitting unit 14 are shielded. The power is turned off when moved to. Further, a finder objective window 15 constituting an optical finder is provided on the front surface of the camera body 11.

カメラ本体11の背面には、LCD16と、光学ファインダを構成するファインダ接眼窓17と、操作部18とが設けられている。LCD16には、再生画像、各種設定画面、及びスルー画等が表示される。   On the back surface of the camera body 11, an LCD 16, a viewfinder eyepiece window 17 constituting an optical viewfinder, and an operation unit 18 are provided. On the LCD 16, a reproduced image, various setting screens, a through image, and the like are displayed.

操作部18は、モード切替スイッチ21、戻しボタン22、送りボタン23、ズームボタン24、メニューボタン25、キャンセルボタン26、及び表示ボタン27で構成されている。モード切替スイッチ21は、撮影モードと再生モードとを切り替える際に操作される。また、戻しボタン22及び送りボタン23は、再生モード時に再生画像を逆送り及び順送りする際に押圧操作される。   The operation unit 18 includes a mode switch 21, a return button 22, a feed button 23, a zoom button 24, a menu button 25, a cancel button 26, and a display button 27. The mode switch 21 is operated when switching between the shooting mode and the playback mode. The return button 22 and the feed button 23 are pressed when the playback image is fed back and forward in the playback mode.

ズームボタン24は、撮影レンズ13のズームレンズをワイド端とテレ端との間で光軸方向に移動させて光学撮影倍率を変更する際に、ユーザによって上下方向に押圧操作される。メニューボタン25は、メニュー画面をLCD16に表示させる際に、ユーザによって押圧操作される。   The zoom button 24 is pressed in the vertical direction by the user when the zoom lens of the photographing lens 13 is moved in the optical axis direction between the wide end and the tele end to change the optical photographing magnification. The menu button 25 is pressed by the user when displaying the menu screen on the LCD 16.

キャンセルボタン26は、メニュー画面にて各種設定操作を途中でやめる場合や、前画面に戻す場合に押圧操作される。表示ボタン27は、LCD16のON,OFFを切り替える際に、撮影者によって押圧操作される。   The cancel button 26 is pressed to stop various setting operations on the menu screen or return to the previous screen. The display button 27 is pressed by the photographer when the LCD 16 is switched on and off.

カメラ本体11の上面には、シャッタボタン28が設けられている。このシャッタボタン28は、2段押しのスイッチとなっている。撮影者が、LCD16または光学ファインダを用いてフレーミングを行った後、シャッタボタン28を軽く押圧(半押し)すると、露光調節、撮影レンズ13の焦点調節などの各種撮影準備処理が施される。また、シャッタボタン28を半押し状態からさらに押し込んで全押しすると、撮影処理が実行される。   A shutter button 28 is provided on the upper surface of the camera body 11. The shutter button 28 is a two-stage push switch. When the photographer performs framing using the LCD 16 or the optical viewfinder and then lightly presses (half-presses) the shutter button 28, various photographing preparation processes such as exposure adjustment and focus adjustment of the photographing lens 13 are performed. When the shutter button 28 is further pressed from the half-pressed state and is fully pressed, the photographing process is executed.

カメラ本体11の側面には、メモリカードスロット29と、外部出力端子30とが設けられている。メモリカードスロット29には、画像データが記録される記録媒体であるメモリカード31が着脱自在に装填される。外部出力端子30は、例えば、USB端子であり、メモリカード31に記録された画像データを外部装置(パーソナルコンピュータ等)に出力する際に使用される。   A memory card slot 29 and an external output terminal 30 are provided on the side surface of the camera body 11. A memory card 31 as a recording medium on which image data is recorded is detachably loaded in the memory card slot 29. The external output terminal 30 is, for example, a USB terminal, and is used when outputting image data recorded on the memory card 31 to an external device (such as a personal computer).

次に、デジタルカメラ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 CPU 40 that is a control means for controlling the entire camera. A ROM 41 and a RAM 42 are connected to the CPU 40. The ROM 41 stores control programs and various control data, and the CPU 40 controls each unit in the camera based on these control programs and control data. The work data is temporarily stored in the RAM 42. The RAM 42 is a storage unit that stores the photometric value and the focus position of the focus lens at the previous AE and AF processing.

また、CPU40には、前述のシャッタボタン28や、操作部18が接続されている。CPU40は、これらから操作信号を取得して各操作信号に対応する処理を実行する。   Further, the shutter button 28 and the operation unit 18 are connected to the CPU 40. The CPU 40 acquires operation signals from these and executes processing corresponding to each operation signal.

撮影レンズ13は、ズームレンズ43と、絞り44と、フォーカスレンズ45とを備えており、ズームレンズ43及びフォーカスレンズ45は、光軸方向に移動可能にされている。ズームレンズ43は、モータ46によって光軸方向に移動され、フォーカスレンズ45は、モータ47によって光軸方向に移動される。モータ46は、モータドライバ48を介してCPU40に接続されており、モータ47は、モータドライバ49を介してCPU40に接続されている。   The photographing lens 13 includes a zoom lens 43, a diaphragm 44, and a focus lens 45. The zoom lens 43 and the focus lens 45 are movable in the optical axis direction. The zoom lens 43 is moved in the optical axis direction by the motor 46, and the focus lens 45 is moved in the optical axis direction by the motor 47. The motor 46 is connected to the CPU 40 via a motor driver 48, and the motor 47 is connected to the CPU 40 via a motor driver 49.

CPU40は、モータドライバ48を制御してモータ46を駆動し、ズームレンズ44を光軸方向に移動させて光学撮影倍率を変更する。また、CPU40は、モータドライバ49を制御してモータ47を駆動し、フォーカスレンズ45を光軸方向に移動させて焦点調節を行う。   The CPU 40 controls the motor driver 48 to drive the motor 46 and moves the zoom lens 44 in the optical axis direction to change the optical photographing magnification. Further, the CPU 40 controls the motor driver 49 to drive the motor 47, and moves the focus lens 45 in the optical axis direction to perform focus adjustment.

また、絞り44は、モータ50によって開口径が変更され、後述するCCDイメージセンサ(固体撮像素子)52に入射する被写体光の光量が変化する。このモータ50は、モータドライバ51を介してCPU40に接続されており、このモータドライバ51を制御してモータ50を駆動し、絞り44の開口径を調節する。   The aperture of the diaphragm 44 is changed by the motor 50, and the amount of subject light incident on a CCD image sensor (solid-state imaging device) 52 described later changes. The motor 50 is connected to the CPU 40 via a motor driver 51, and controls the motor driver 51 to drive the motor 50 to adjust the aperture diameter of the diaphragm 44.

撮影レンズ13の背後には、撮影レンズ13を透過した被写体光を撮像する固体撮像素子であるCCDイメージセンサ52が配置されており、このCCDイメージセンサ52には、CCDドライバ53が接続されている。CCDドライバ53は、タイミングジェネレータ54から入力されるクロックパルスに応じて、垂直駆動信号及び水平駆動信号をCCDイメージセンサ52に入力して、CCDイメージセンサ52を駆動する。   Behind the photographic lens 13, a CCD image sensor 52, which is a solid-state imaging device that images subject light that has passed through the photographic lens 13, is disposed, and a CCD driver 53 is connected to the CCD image sensor 52. . The CCD driver 53 inputs a vertical drive signal and a horizontal drive signal to the CCD image sensor 52 according to the clock pulse input from the timing generator 54 and drives the CCD image sensor 52.

このタイミングジェネレータ54は、CPU40に接続されており、CPU40は、タイミングジェネレータ54を制御して、クロックパルスを発生させることによって、CCDイメージセンサ40の駆動を制御する。   The timing generator 54 is connected to the CPU 40, and the CPU 40 controls the driving of the CCD image sensor 40 by controlling the timing generator 54 and generating clock pulses.

また、CCDイメージセンサ52には、相関二重サンプリング回路(CDS)55、及びAMP56が接続されている。これらによって、CCDイメージセンサ52から出力された撮像信号に対して、ノイズの除去や増幅が施される。   The CCD image sensor 52 is connected to a correlated double sampling circuit (CDS) 55 and an AMP 56. As a result, noise removal and amplification are performed on the imaging signal output from the CCD image sensor 52.

その後、撮像信号が、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 / D converter 57 and output to the image input controller 58. The image input controller 58 is connected to a frame memory 60 via a data bus 59. The CPU 40 controls the image input controller 58 to store the image data in the frame memory 60.

また、データバス59には、画像入力コントローラ58やフレームメモリ60の他に、CPU40、AE検出部61、AF検出部62、サーチ範囲設定部63、画像信号処理部64、圧縮伸張処理部65、LCDドライバ66、メディアコントローラ67、及びAFピーク判断部68が接続されている。   In addition to the image input controller 58 and the frame memory 60, the data bus 59 includes a CPU 40, an AE detection unit 61, an AF detection unit 62, a search range setting unit 63, an image signal processing unit 64, a compression / decompression processing unit 65, An LCD driver 66, a media controller 67, and an AF peak determination unit 68 are connected.

AE検出部61は、画像データに基づいて測光を行う測光手段であり、測光値をCPU40に出力する。なお、このAE検出部61は、画像全体の輝度値を積分する平均測光ではなく、画像の中央部に重み付けを大きくして、輝度値を積分する中央重点測光方式で測光を行う。また、AF検出部62は、フォーカスレンズ45が所定のサーチ範囲内で移動されている時に、画像データの高周波成分を積分してAF評価値を逐次算出し、これらのAF評価値の最大値を検出する。また、AFピーク判断部68は、AF評価値の最大値がAFピークであるか否かを判断する。   The AE detection unit 61 is a photometric unit that performs photometry based on image data, and outputs a photometric value to the CPU 40. The AE detection unit 61 performs photometry using a center-weighted photometry method in which the luminance value is integrated by increasing the weighting in the central portion of the image, not the average photometry for integrating the luminance value of the entire image. In addition, when the focus lens 45 is moved within a predetermined search range, the AF detection unit 62 integrates high-frequency components of the image data and sequentially calculates an AF evaluation value, and calculates the maximum value of these AF evaluation values. To detect. The AF peak determination unit 68 determines whether or not the maximum AF evaluation value is an AF peak.

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 CPU 40 controls the electronic shutter speed of the CCD image sensor 52 and the diaphragm 44 so that the subject light amount incident on the CCD image sensor 52 is optimized based on the photometric value. Further, the CPU 40 controls the AF peak determination unit 68 to determine whether or not the maximum AF evaluation value detected by the AF detection unit 62 is an AF peak. When it is determined that the maximum value of the AF evaluation value is the AF peak, the CPU 40 moves the focus lens 45 to a position corresponding to the maximum value of the AF evaluation value. When it is determined that the maximum AF evaluation value is not the AF peak, the CPU 40 moves the focus lens 45 to the pan focus position.

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 RAM 42, the CPU 40 determines the photometry value X detected by the AE detector 61 and the focus position of the focus lens 45 when the shutter button 28 is half-pressed. Is stored in the RAM 42. Next, when the shutter button 28 is half-pressed, the CPU 40 obtains the photometric value Y from the AE detector 61, and obtains the previous photometric value X and in-focus position stored in the RAM 42, and the photometric value Y. Input to the search range setting unit 63.

サーチ範囲設定部63には、図4に示すように、内部パラメータとして、測光値の変化量の許容値β、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、及び狭域サーチ終了位置Nが記憶されており、前述したように、測光値Xと、測光値Yと、前回の合焦位置とが入力される。また、このサーチ範囲設定部63には、測光値Xと測光値Yとを比較し、測光値の変化量(X−Y)が、許容範囲(−β≦X−Y≦β)以内であるか否かを判定する測光値判定部63aが設けられている。   As shown in FIG. 4, the search range setting unit 63 includes, as internal parameters, a photometric value change amount allowable value β, a global search start position P, a global search end position Q, a narrow search start position M, and a narrow range. The area search end position N is stored, and as described above, the photometric value X, photometric value Y, and previous focus position are input. Further, the search range setting unit 63 compares the photometric value X with the photometric value Y, and the amount of change (XY) of the photometric value is within the allowable range (−β ≦ X−Y ≦ β). A photometric value determination unit 63a is provided for determining whether or not.

サーチ範囲設定部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 value determination unit 63a determines that the search range setting unit 63 is not within the allowable range (−β ≦ X−Y ≦ β), the search range setting unit 63 sets the entire search range (first search range) shown in FIG. A search range of the focus lens 45 is set, and a global search start position P and a global search end position Q corresponding to the global search are output to the CPU 40. Further, when the photometric value determination unit 63a determines that it is within the allowable range (−β ≦ X−Y ≦ β), the focus lens 45 falls within the narrow search range (second search range) shown in FIG. And a narrow area search start position M and a narrow area search end position N corresponding to the narrow area search range are output to the CPU 40. The narrow area search range is narrower than the above-described entire area search range and includes the previous focus position G. The narrow area search start position M and the narrow area search end position M are the previous focus positions. It is set before and after the position G.

また、下表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 zoom lens 43, and are narrow. The position and width of the area and the entire search range are changed. For example, when the zoom lens is at the position Z1 (WIDE end), the entire area search start position P = P1, the entire area search end position Q = Q1, the narrow area search start position M = M1, and the narrow area search start position corresponding to this position. N = N1.

Figure 2007057974
Figure 2007057974

サーチ範囲設定部63は、前回の測光値X及び合焦位置がRAM42に記憶されていない場合、フォーカスレンズ45のサーチ範囲を全域サーチ範囲に設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、及び全域サーチ終了位置QをCPU40に出力する。   When the previous photometric value X and the focus position are not stored in the RAM 42, the search range setting unit 63 sets the search range of the focus lens 45 as the entire search range, and the entire search start position corresponding to this entire search range. P and the global search end position Q are output to the CPU 40.

CPU40は、サーチ範囲設定部63を制御してフォーカスレンズ45のサーチ範囲を設定させ、サーチ範囲設定部63によって設定されたサーチ範囲に基づいて、フォーカスレンズ45を移動させて、AFサーチ処理を行う。   The CPU 40 controls the search range setting unit 63 to set the search range of the focus lens 45, moves the focus lens 45 based on the search range set by the search range setting unit 63, and performs AF search processing. .

画像信号処理部64は、画像データがフレームメモリ60に記憶されている間に、階調変換処理、色補間処理、YC変換処理等の各種画像処理を施す。スルー画用の低解像度の画像データがフレームメモリ60に記憶されている場合、この画像信号処理部64によって、前述の画像処理が施された後、画像データがデータバスを介してLCDドライバ66に送信される。LCDドライバ66は、LCD16に画像を表示するために、画像データに対して信号処理を施して、画像をLCD16に表示させる。   The image signal processing unit 64 performs various types of image processing such as gradation conversion processing, color interpolation processing, and YC conversion processing while the image data is stored in the frame memory 60. When low-resolution image data for a through image is stored in the frame memory 60, the image signal is applied to the LCD driver 66 via the data bus after the image processing is performed by the image signal processing unit 64. Sent. The LCD driver 66 performs signal processing on the image data to display an image on the LCD 16 in order to display an image on the LCD 16.

また、記録用の高解像度の画像データがフレームメモリ60に記憶されている場合、画像信号処理部64によって、前述の画像処理が施された後、圧縮伸張処理部65によって、画像データに対してJPEG方式等の圧縮形式で圧縮処理が施される。圧縮処理が施された画像データは、メディアコントローラ67によって、記録メディアであるメモリカード31に記録される。   When high-resolution image data for recording is stored in the frame memory 60, the image signal processing unit 64 performs the above-described image processing, and then the compression / decompression processing unit 65 applies the image data to the image data. Compression processing is performed in a compression format such as JPEG. The compressed image data is recorded by the media controller 67 on the memory card 31 as a recording medium.

また、再生モードでは、メディアコントローラ67によって、メモリカード31から画像データが読み出され、この画像データがフレームメモリ60に一時的に記憶され、圧縮伸張処理部65によって、この画像データに対して伸張処理が施され、この画像がLCD16に表示される。   In the playback mode, image data is read from the memory card 31 by the media controller 67 and temporarily stored in the frame memory 60. The compression / decompression processing unit 65 decompresses the image data. Processing is performed, and this image is displayed on the LCD 16.

次に、上記構成のデジタルカメラ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 CPU 40 determines whether or not the shutter button 28 is half-pressed. When it is determined that the shutter button 28 is not half-pressed, the standby state is maintained until the shutter button 28 is half-pressed.

また、シャッタボタン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 shutter button 28 is half-pressed, it is determined whether the photometric value X and the in-focus position G are stored in the RAM 42. When it is determined that the photometric value X and the focus position G are not stored in the RAM 42, the CPU 40 acquires the photometric value X from the AE detector 61 and performs exposure control based on the photometric value X. Thereafter, the CPU 40 controls the search range setting unit 63 to set the search range. At this time, since the photometric value X and the focus position G are not input to the search range setting unit 63, the search range is set to the global search, and the global search start position P and the global search end position Q are set to the CPU 40. Output. The CPU 40 moves the focus lens 45 based on the whole area search start position P and the whole area search end position Q, and performs AF search processing.

以下に、AFサーチ処理について、図8のフローチャートを用いて説明する。CPU40は、AF評価値を算出するためのAFエリアを設定する。なお、このAFエリアは、CCDイメージセンサ52によって撮像された画像の中央に設定される。   The AF search process will be described below with reference to the flowchart in FIG. The CPU 40 sets an AF area for calculating the AF evaluation value. This AF area is set at the center of the image picked up by the CCD image sensor 52.

また、CPU40は、AE検出部61から取得した測光値に基づいて、AFサーチに最適な露出(絞り、電子シャッタ速度等)や、CCD駆動モードや、感度(ゲイン)を設定する。   Further, the CPU 40 sets the optimum exposure (aperture, electronic shutter speed, etc.), CCD drive mode, and sensitivity (gain) for the AF search based on the photometric value acquired from the AE detector 61.

さらに、CPU40は、AFサーチに使用するCCD駆動モードに応じて、フィルタの帯域を設定する。なお、このフィルタは、画像データの高周波成分のみを抽出するためのフィルタである。CPU40は、全域サーチ開始位置Pにフォーカスレンズ45を移動させる。   Further, the CPU 40 sets a filter band in accordance with the CCD drive mode used for the AF search. This filter is a filter for extracting only high-frequency components of image data. The CPU 40 moves the focus lens 45 to the entire area search start position P.

その後、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 focus lens 45 is moved step by step to the entire area search end position Q, the CPU 40 sequentially calculates the AF evaluation value based on the image data, and detects the maximum value of the AF evaluation value. For example, when the global search start position P is set to the INF end side and the global search end position Q is set to the NEAR end side, the CPU 40 moves from the INF end side to the NEAR end side as shown in FIG. As the focus lens 45 is moved, the AF detector 62 is controlled to detect the maximum AF evaluation value. Note that the above-described one step is one permissible confusion circle diameter, and this step width varies depending on the position of the zoom lens (WIDE end or TELE end). That is, the number of steps increases at the TELE end. Thus, the AF search process ends.

また、測光値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 RAM 42, the CPU 40 obtains the photometric value Y from the AE detector 61 and performs exposure control based on the photometric value Y. Further, the CPU 40 acquires the previous photometric value X and the focus position G stored in the RAM 42, and inputs the two photometric values X and Y and the focus position G to the search range setting unit 63.

サーチ範囲設定部63は、測光値の変化量(X−Y)が、許容範囲(−β≦X−Y≦β)以内か否かを判定する。許容範囲(−β≦X−Y≦β)以内ではないと判定された場合、フォーカスレンズ45のサーチ範囲として全域サーチ範囲を設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、及び全域サーチ終了位置QをCPU40に出力する。CPU40は、この開始位置P及び終了位置Qに基づいて、フォーカスレンズ45を全域サーチ範囲で移動させ、前述の場合と同様に、AFサーチ処理を行う。   The search range setting unit 63 determines whether or not the photometric value change amount (X−Y) is within an allowable range (−β ≦ X−Y ≦ β). When it is determined that it is not within the allowable range (−β ≦ X−Y ≦ β), the entire area search range is set as the search range of the focus lens 45, the entire area search start position P corresponding to the entire area search range, and the entire area The search end position Q is output to the CPU 40. Based on the start position P and end position Q, the CPU 40 moves the focus lens 45 in the whole area search range, and performs the AF search process in the same manner as described above.

また、許容範囲(−β≦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 range setting unit 63 sets a narrow range search range as the search range of the focus lens 45, and this narrow range search range. The narrow area search start position M and the narrow area search end position N corresponding to are output to the CPU 40. The narrow area search start position M and the narrow area search end position N are set before and after the previous focus position G, for example, before and after the previous focus position G as shown in FIG. Is done. The narrow area search start position N and the narrow area search end position M may be two steps before and after the in-focus position, or may be three positions before and after the focus position, and can be set as appropriate. Based on the narrow area search start position M and the narrow area search end position N, the CPU 40 moves the focus lens 45 in the narrow area search range, and performs the AF search process as described above.

その後、CPU40は、AFピーク判断部68を制御して、AFサーチ処理によって検出されたAF評価値の最大値が、AFピークであるか否かを判定させる。AF評価値の最大値がAFピークでないと判定された場合、CPU40は、フォーカスレンズ45をパンフォーカス位置に移動させる。また、AF評価値の最大値がAFピークであると判定された場合、この最大値に対応する位置が合焦位置であると判断し、CPU40は、この合焦位置にフォーカスレンズ45を移動させる。   Thereafter, the CPU 40 controls the AF peak determination unit 68 to determine whether or not the maximum AF evaluation value detected by the AF search process is an AF peak. When it is determined that the maximum AF evaluation value is not the AF peak, the CPU 40 moves the focus lens 45 to the pan focus position. If it is determined that the maximum AF evaluation value is the AF peak, the position corresponding to the maximum value is determined to be the in-focus position, and the CPU 40 moves the focus lens 45 to the in-focus position. .

CPU40は、RAM42に記憶された前回の測光値X及び合焦位置Gを今回の測光値及び合焦位置に更新する。また、RAM42に測光値X及び合焦位置Gが記憶されていない場合、今回の測光値及び合焦位置を新たにRAM42に記憶させる。   The CPU 40 updates the previous photometric value X and focus position G stored in the RAM 42 to the current photometric value and focus position. When the photometric value X and the focus position G are not stored in the RAM 42, the current photometric value and the focus position are newly stored in the RAM 42.

その後、CPU40は、シャッタボタン28の半押しが解除されたか否かを判定する。半押しが解除されたと判定された場合、シャッタボタン28以外の操作ボタン(例えば、モード切替スイッチ21、ズームボタン24等)が操作されたか否かを判定する。シャッタボタン28以外の操作ボタンが操作されていないと判定された場合、シャッタボタン28が半押しされたか否かの判定処理に戻る。また、シャッタボタン28以外の操作ボタンが操作されたと判定された場合、RAM42に記憶された測光値A及び合焦位置Gを無効に(消去)して、シャッタボタン28が半押しされたか否かの判定処理に戻る。   Thereafter, the CPU 40 determines whether or not the half-press of the shutter button 28 is released. If it is determined that the half-press has been released, it is determined whether or not an operation button other than the shutter button 28 (for example, the mode switch 21 and the zoom button 24) has been operated. When it is determined that the operation buttons other than the shutter button 28 are not operated, the process returns to the determination process of whether or not the shutter button 28 is half-pressed. If it is determined that an operation button other than the shutter button 28 is operated, the photometric value A and the focus position G stored in the RAM 42 are invalidated (erased), and whether or not the shutter button 28 is half-pressed. Return to the determination process.

また、シャッタボタン28の半押しが解除されていないと判定された場合、CPU40は、シャッタボタン28が全押しされたか否かの判定を行う。シャッタボタン28が全押しされていないと判定された場合、シャッタボタン28の半押しが解除されたか否かの判定処理に戻る。また、シャッタボタン28が全押しされたと判定された場合、CPU40は、各部を制御して撮像を実行させる。   When it is determined that the half-press of the shutter button 28 has not been released, the CPU 40 determines whether or not the shutter button 28 has been fully pressed. If it is determined that the shutter button 28 has not been fully pressed, the process returns to the determination process of whether or not the half-press of the shutter button 28 has been released. If it is determined that the shutter button 28 has been fully pressed, the CPU 40 controls each unit to execute imaging.

その後、CPU40は、圧縮伸張処理部65を制御して、画像データに対して圧縮処理を施した後、メディアコントローラ67を制御して、圧縮処理が施された画像データをメモリカード31に記録して撮影処理が終了する。   Thereafter, the CPU 40 controls the compression / decompression processing unit 65 to compress the image data, and then controls the media controller 67 to record the compressed image data on the memory card 31. This completes the shooting process.

前述のように、測光値の変化量が許容範囲以内である場合、撮影対象である被写体が変更されていないと判断し、フォーカスレンズ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 focus lens 45 is set to the narrow range search range, and the narrow range is set. AF search processing is performed. For this reason, the time required for the focus adjustment processing of the photographing lens can be shortened.

なお、上記第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 RAM 42 has been described. However, even if the power is turned off, the data is not erased even if stored in a flash memory. good. Further, the previous photometric value X and focus position G may be stored in the memory in the search range setting unit 63.

また、測光値判定部63aをサーチ範囲設定部63内に設ける場合を例に説明したが、サーチ範囲設定部63の外部に設けても良い。さらに、フォーカスレンズ45をINF端側からNEAR端側に移動させて、AFサーチ処理を行う場合を例に説明したが、これに限るものではなく、逆にNEAR端側からINF端側に移動させても良い。   Moreover, although the case where the photometric value determination unit 63 a is provided in the search range setting unit 63 has been described as an example, it may be provided outside the search range setting unit 63. Furthermore, although the case where the focus lens 45 is moved from the INF end side to the NEAR end side and the AF search process is performed has been described as an example, the present invention is not limited to this, and conversely, the focus lens 45 is moved from the NEAR end side to the INF end side. May be.

次に、第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 range setting unit 71 as shown in FIG. Unlike the digital camera 10, the RAM 42 stores the maximum AF evaluation value A and the focus position G in the previous focus adjustment.

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 RAM 42, the CPU 40 determines the maximum AF evaluation value detected by the AF detection unit 62 when the shutter button 28 is half-pressed to perform focus adjustment. The value A and the focus position G of the focus lens 45 are stored in the RAM 42. When the shutter button 28 is half-pressed and the focus adjustment is performed in a state where the maximum value A and the focus position G are stored in the RAM 42, the CPU 40 detects the maximum AF evaluation value from the AF detection unit 62. The value B is detected, and the previous maximum value A, the previous in-focus position G, and the current maximum value B stored in the RAM 42 are input to the search range setting unit 71.

サーチ範囲設定部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 range setting unit 71 includes, as internal parameters, a change value α of the maximum value of the AF evaluation value, a global search start position P, a global search end position Q, a narrow area search start position M, and a narrow area. The area search end position N is stored, and as described above, the maximum value A of the previous AF evaluation value, the previous focus position G, and the maximum value B of the current AF evaluation value are input. Further, the search range setting unit 71 compares the maximum values A and B, and determines whether or not the amount of change is within an allowable range (−α ≦ A−B ≦ α). A value determination unit 71a is provided.

サーチ範囲設定部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 RAM 42, the search range setting unit 71 sets the search range of the focus lens 45 to the entire search range (first search range). The global search start position P and global search end position Q corresponding to the global search range are output to the CPU 40. Further, when the previous maximum value A and the previous focus position G are stored in the RAM 42, the search range setting unit 71 sets the search range of the focus lens 45 as a narrow search range (second search range). The narrow area search start position M and the narrow area search end position N corresponding to this narrow area search range are output to the CPU 40.

また、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 value determination unit 71a compares the maximum value A of the previous AF evaluation value stored in the RAM 42 with the maximum value B of the AF evaluation value detected by performing the AF search process in the narrow area search range. Then, it is determined whether or not the change amount (A−B) of the AF evaluation value is within an allowable range (−α ≦ A−B ≦ α). When it is determined that the allowable range (−α ≦ A−B ≦ α) is not satisfied, the search range setting unit 71 sets the search range of the focus lens 45 as a global search range, and the global search corresponding to the global search range. The start position P and the global search end position Q are output to the CPU 40.

なお、これらの全域サーチ範囲及び狭域サーチ範囲は、デジタルカメラ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 lens 43, and the position and width of the narrow area and the entire area search range are changed.

なお、その他は、デジタルカメラ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 CPU 40 determines whether or not the shutter button 28 is half-pressed. When it is determined that the shutter button 28 is not half-pressed, the standby state is maintained until the shutter button 28 is half-pressed.

また、シャッタボタン28が半押しされたと判定された場合、CPU40は、前回のAF評価値の最大値A及び合焦位置GがRAM42に記憶されているか否かを判定する。最大値A及び合焦位置GがRAM42に記憶されていないと判定された場合、CPU40は、サーチ範囲設定部71を制御してサーチ範囲を設定させる。この時、サーチ範囲設定部71には、最大値A及び合焦位置Gが入力されていないので、フォーカスレンズ45のサーチ範囲として全域サーチ範囲を設定し、この全域サーチ範囲に対応する全域サーチ開始位置P、全域サーチ終了位置QをCPU40に出力する。   If it is determined that the shutter button 28 is half-pressed, the CPU 40 determines whether the maximum value A and the focus position G of the previous AF evaluation value are stored in the RAM 42. When it is determined that the maximum value A and the focus position G are not stored in the RAM 42, the CPU 40 controls the search range setting unit 71 to set the search range. At this time, since the maximum value A and the in-focus position G are not input to the search range setting unit 71, the entire area search range is set as the search range of the focus lens 45, and the entire area search corresponding to the entire area search range is started. The position P and the global search end position Q are output to the CPU 40.

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 CPU 40 performs an AF search process in the global search range, as shown in FIG. 15, and obtains the maximum AF evaluation value A. Thereafter, the process proceeds to a process of determining whether or not the maximum AF evaluation value A is an AF peak.

最大値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 RAM 42, the CPU 40 inputs the maximum value A and the in-focus position G into the search range setting unit 71. When the maximum value A and the focus position G are input, the search range setting unit 71 sets a narrow search range as the search range of the focus lens 45, and the narrow search start position M corresponding to the narrow search range. The narrow area search end position N is output to the CPU 40. Based on the narrow area search start position M and the narrow area search end position N, the CPU 40 performs an AF search process in the narrow area search range as shown in FIG. 16, and obtains the maximum AF evaluation value B.

CPU40は、この最大値Bをサーチ範囲設定部71に入力する。AF評価値判定部71aは、AF評価値の最大値Aと最大値Bとを比較し、その変化量(A−B)が、許容範囲(−α≦A−B≦α)以内であるか否かを判定する。許容範囲(−α≦A−B≦α)以内であると判定された場合、CPU40は、最大値Bに対応する位置が合焦位置であると判定し、この位置にフォーカスレンズ45を移動させる。例えば、図16に示すように、最大値Bが前回の最大値Aと変わらない場合、この位置を合焦位置であると判定し、全域サーチ範囲でのAFサーチ処理を行わない。   The CPU 40 inputs this maximum value B to the search range setting unit 71. The AF evaluation value determination unit 71a compares the maximum value A and the maximum value B of the AF evaluation value, and whether the change amount (A−B) is within an allowable range (−α ≦ A−B ≦ α). Determine whether or not. When it is determined that the value is within the allowable range (−α ≦ A−B ≦ α), the CPU 40 determines that the position corresponding to the maximum value B is the in-focus position, and moves the focus lens 45 to this position. . For example, as shown in FIG. 16, when the maximum value B is not different from the previous maximum value A, it is determined that this position is the in-focus position, and the AF search process in the entire area search range is not performed.

また、許容範囲(−α≦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 range setting unit 71 sets a global search range as the search range of the focus lens 45 and corresponds to the global search range. The entire area search start position P and the entire area search end position Q are output to the CPU 40. Based on the global search start position P and the global search end position Q, the CPU 40 performs an AF search process in the global search range to obtain the maximum AF evaluation value B. For example, as shown in FIG. 17, when the maximum value B falls below the allowable value α below the maximum value A, the AF search process is performed in the entire area search range, and the maximum value B of the AF evaluation value is acquired again. Thereafter, the process proceeds to a process of determining whether or not the maximum AF evaluation value B is an AF peak.

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 peak determination unit 68. The AF peak determination unit 68 determines whether or not the maximum AF evaluation value is an AF peak. When it is determined that the maximum value of the AF evaluation value is the AF peak, the CPU 40 determines that the position corresponding to the maximum value is the in-focus position, and moves the focus lens 45 to the in-focus position. When it is determined that the maximum AF evaluation value is not the AF peak, the CPU 40 moves the focus lens 45 to the pan focus position.

フォーカスレンズ45が合焦位置またはパンフォーカス位置に移動された後、CPU40は、RAM42に記憶された前回の最大値A及び合焦位置Gを今回の最大値及び合焦位置に更新する。また、RAM42に最大値A及び合焦位置Gが記憶されていない場合、今回の最大値及び合焦位置を新たにRAM42に記憶させる。   After the focus lens 45 is moved to the focus position or the pan focus position, the CPU 40 updates the previous maximum value A and focus position G stored in the RAM 42 to the current maximum value and focus position. If the maximum value A and the in-focus position G are not stored in the RAM 42, the current maximum value and in-focus position are newly stored in the RAM 42.

その後、CPU40は、シャッタボタン28の半押しが解除されたか否かを判定する。半押しが解除されたと判定された場合、シャッタボタン28以外の操作ボタン(例えば、モード切替スイッチ21や、ズームボタン24等)が操作されたか否かを判定する。シャッタボタン28以外の操作ボタンが操作されていないと判定された場合、シャッタボタン28が半押しされたか否かの判定処理に戻る。また、シャッタボタン28以外の操作ボタンが操作されたと判定された場合、RAM42に記憶された最大値A及び合焦位置Gを無効にして、シャッタボタン28が半押しされたか否かの判定処理に戻る。   Thereafter, the CPU 40 determines whether or not the half-press of the shutter button 28 is released. If it is determined that the half-press is released, it is determined whether an operation button other than the shutter button 28 (for example, the mode switch 21 or the zoom button 24) is operated. When it is determined that the operation buttons other than the shutter button 28 are not operated, the process returns to the determination process of whether or not the shutter button 28 is half-pressed. If it is determined that an operation button other than the shutter button 28 has been operated, the maximum value A and the focus position G stored in the RAM 42 are invalidated, and a determination process is performed to determine whether the shutter button 28 has been pressed halfway. Return.

また、シャッタボタン28の半押しが解除されていないと判定された場合、CPU40は、シャッタボタン28が全押しされたか否かの判定を行う。シャッタボタン28が全押しされていないと判定された場合、シャッタボタン28の半押しが解除されたか否かの判定処理に戻る。また、シャッタボタン28が全押しされたと判定された場合、CPU40は、各部を制御して撮像を実行させる。   When it is determined that the half-press of the shutter button 28 has not been released, the CPU 40 determines whether or not the shutter button 28 has been fully pressed. If it is determined that the shutter button 28 has not been fully pressed, the process returns to the determination process of whether or not the half-press of the shutter button 28 has been released. If it is determined that the shutter button 28 has been fully pressed, the CPU 40 controls each unit to execute imaging.

その後、CPU40は、圧縮伸張処理部65を制御して、画像データに対して圧縮処理を施した後、メディアコントローラ67を制御して、圧縮処理が施された画像データをメモリカード31に記録して撮影処理が終了する。   Thereafter, the CPU 40 controls the compression / decompression processing unit 65 to compress the image data, and then controls the media controller 67 to record the compressed image data on the memory card 31. This completes the shooting process.

前述のように、シャッタボタン28が操作された時に、狭域サーチ範囲でAFサーチ処理を行い、このAFサーチ処理で検出されたAF評価値の最大値Bと、前回のAF評価値の最大値Aを比較して、これらの変化量が許容範囲内の場合に、この最大値Bに対応する位置を合焦位置とする。このため、撮影レンズ13の焦点調節処理に要する時間を短縮することが可能である。   As described above, when the shutter button 28 is operated, AF search processing is performed in the narrow search range, and the maximum AF evaluation value B detected by this AF search processing and the maximum AF evaluation value of the previous time are detected. A is compared, and when the amount of change is within the allowable range, the position corresponding to the maximum value B 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 photographic lens 13.

なお、前回の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 RAM 42 has been described, they may be stored in a flash memory that does not erase data even when the power is turned off. Further, the previous maximum value A and in-focus position G may be stored in a memory in the search range setting unit 71.

また、AF評価値判定部71aをサーチ範囲設定部71内に設ける場合を例に説明したが、サーチ範囲設定部71の外部に設けても良い。さらに、フォーカスレンズ45をINF端側からNEAR端側に移動させて、AFサーチ処理を行う場合を例に説明したが、これに限るものではなく、逆にNEAR端側からINF端側に移動させても良い。   Moreover, although the case where the AF evaluation value determination unit 71 a is provided in the search range setting unit 71 has been described as an example, it may be provided outside the search range setting unit 71. Furthermore, although the case where the focus lens 45 is moved from the INF end side to the NEAR end side and the AF search process is performed has been described as an example, the present invention is not limited to this, and conversely, the focus lens 45 is moved from the NEAR end side to the INF end side. May be.

次に、第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 RAM 42. The search range setting unit 80 receives the maximum AF evaluation value D as will be described later.

サーチ範囲設定部81には、図19に示すように、内部パラメータとして、AF評価値の基準値E、全域サーチ開始位置P、全域サーチ終了位置Q、狭域サーチ開始位置M、及び狭域サーチ開始位置Nが記憶されている。このサーチ範囲設定部81は、シャッタボタン28が半押しされた時に、最初に、フォーカスレンズ45のサーチ範囲として、狭域サーチ範囲(第1のサーチ範囲)を設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、及び狭域サーチ終了位置NをCPU40に出力する。   As shown in FIG. 19, the search range setting unit 81 includes, as internal parameters, an AF evaluation value reference value E, a global search start position P, a global search end position Q, a narrow search start position M, and a narrow search. The starting position N is stored. When the shutter button 28 is half-pressed, the search range setting unit 81 first sets a narrow range search range (first search range) as the search range of the focus lens 45, and the narrow range search range is set to this narrow range search range. The corresponding narrow area search start position M and narrow area search end position N are output to the CPU 40.

また、サーチ範囲設定部81には、前述の狭域サーチ範囲でのAFサーチ処理によって取得されたAF評価値の最大値Dが入力される。サーチ範囲設定部81は、この最大値Dと基準値Eとを比較し、最大値Dが基準値E以上であるか否かを判定するAF評価値判定部81aを備えている。   Further, the search range setting unit 81 receives the maximum AF evaluation value D acquired by the AF search process in the narrow range search range described above. The search range setting unit 81 includes an AF evaluation value determination unit 81a that compares the maximum value D with a reference value E and determines whether the maximum value D is equal to or greater than the reference value E.

この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 CPU 40 determines that the maximum value D of the AF evaluation value is the AF peak, and moves the focus lens 45 with this position as the in-focus position. If it is determined that the maximum value D is smaller than the reference value E, a global search range (second search range) is set as the search range of the focus lens 45, and the global search start position P corresponding to this global search range. , And the global search end position Q is output.

なお、この全域サーチ範囲は、図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 lens 13 is added to the narrow area search range. It is. 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 lens 43, and the position and width of the narrow area and the entire area search range are changed.

なお、その他の構成は、デジタルカメラ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 CPU 40 determines whether or not the shutter button 28 is half-pressed. When it is determined that the shutter button 28 is not half-pressed, the standby state is maintained until the shutter button 28 is half-pressed.

また、シャッタボタン28が半押しされたと判定された場合、CPU40は、サーチ範囲設定部81を制御してサーチ範囲を設定させる。この時、サーチ範囲設定部81は、フォーカスレンズ45のサーチ範囲として狭域サーチ範囲を設定し、この狭域サーチ範囲に対応する狭域サーチ開始位置M、及び狭域サーチ終了位置NとをCPU40に出力する。   When it is determined that the shutter button 28 is half-pressed, the CPU 40 controls the search range setting unit 81 to set the search range. At this time, the search range setting unit 81 sets a narrow area search range as the search range of the focus lens 45, and the CPU 40 determines the narrow area search start position M and the narrow area search end position N corresponding to the narrow area search range. Output to.

CPU40は、図20に示すように、フォーカスレンズ45を狭域サーチ開始位置Mに移動させた後、狭域サーチ終了位置Nまでフォーカスレンズ45を移動させて、狭域サーチ範囲でAFサーチ処理を行う。また、CPU40は、AF検出部62からAF評価値の最大値Dを取得し、この最大値Dをサーチ範囲設定部81に入力する。   As shown in FIG. 20, after moving the focus lens 45 to the narrow area search start position M, the CPU 40 moves the focus lens 45 to the narrow area search end position N, and performs AF search processing in the narrow area search range. Do. Further, the CPU 40 acquires the maximum value D of the AF evaluation value from the AF detection unit 62 and inputs this maximum value D to the search range setting unit 81.

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 range setting unit 81. At this time, the CPU 40 determines that the position where the maximum value D is the AF peak and this position is the in-focus position, and moves the focus lens 45 to a position corresponding to the maximum value D.

また、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 range setting unit 81 sets a global search range as the search range of the focus lens 45, the global search start position P corresponding to this global search range, and the global search. The end position Q is output to the CPU 40. As shown in FIG. 20, the CPU 40 moves the focus lens 45 in the entire area search range, performs AF search processing, and obtains the maximum AF evaluation value D again. Thereafter, the process proceeds to a process of determining whether or not the maximum AF evaluation value D is an AF peak.

最大値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 peak determination unit 68. The AF peak determination unit 68 determines whether or not the maximum value D is an AF peak. When it is determined that the maximum value D is the AF peak, the CPU 40 determines that the position corresponding to the maximum value D is the in-focus position, and moves the focus lens 45 to the in-focus position. When it is determined that the maximum value D is not the AF peak, the CPU 40 moves the focus lens 45 to the pan focus position.

その後、CPU40は、シャッタボタン28の半押しが解除されたか否かを判定する。シャッタボタン28の半押しが解除されたと判定された場合、シャッタボタン28が半押しされたか否かを判定する処理に戻る。また、シャッタボタン28の半押しが解除されていないと判定された場合、CPU40は、シャッタボタン28が全押しされたか否かの判定を行う。   Thereafter, the CPU 40 determines whether or not the half-press of the shutter button 28 is released. When it is determined that the half-press of the shutter button 28 is released, the process returns to the process of determining whether the shutter button 28 is half-pressed. When it is determined that the half-press of the shutter button 28 has not been released, the CPU 40 determines whether or not the shutter button 28 has been fully pressed.

シャッタボタン28が全押しされていないと判定された場合、シャッタボタン28の半押しが解除されたか否かの判定処理に戻る。また、シャッタボタン28が全押しされたと判定された場合、CPU40は、各部を制御して撮像を実行させる。   If it is determined that the shutter button 28 has not been fully pressed, the process returns to the determination process of whether or not the half-press of the shutter button 28 has been released. If it is determined that the shutter button 28 has been fully pressed, the CPU 40 controls each unit to execute imaging.

その後、CPU40は、圧縮伸張処理部65を制御して、画像データに対して圧縮処理を施した後、メディアコントローラ67を制御して、圧縮処理が施された画像データをメモリカード31に記録して撮影処理が終了する。   Thereafter, the CPU 40 controls the compression / decompression processing unit 65 to compress the image data, and then controls the media controller 67 to record the compressed image data on the memory card 31. This completes the shooting process.

前述ように、シャッタボタン28が半押しされた時に、最初に、温特マージンを含まない狭域サーチ範囲でAFサーチ処理を行い、このAFサーチ処理によって取得されたAF評価値の最大値Dが基準値E以上の場合、この最大値Dに対応する位置を合焦位置とする。このため、撮影レンズ13の焦点調節処理に要する時間を短縮することが可能である。   As described above, when the shutter button 28 is half-pressed, first, an AF search process is performed in a narrow search range that does not include the temperature special margin, and the maximum AF evaluation value D acquired by this AF search process is obtained. When the reference value E is equal to or greater than the reference value E, the position corresponding to the maximum value D is set as the focus position. For this reason, it is possible to shorten the time required for the focus adjustment processing of the photographic lens 13.

なお、上記第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 range setting unit 81 has been described as an example. However, the AF evaluation value determination unit 81a may be provided outside the search range setting unit 81. Further, the focus lens 45 is moved from the INF end side to the NEAR end side during the narrow area search, and is moved from the NEAR end side to the INF end side during the entire area search. It may be moved from the end side to the INF end side, and may be moved from the INF end side to the NEAR end side during the entire area 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.

デジタルカメラの前面側の構成を示す外観斜視図である。It is an external appearance perspective view which shows the structure of the front side of a digital camera. デジタルカメラの背面側の構成を示す外観斜視図である。It is an external appearance perspective view which shows the structure of the back side of a digital camera. 第1の実施形態のデジタルカメラの電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the digital camera of 1st Embodiment. 第1の実施形態であるデジタルカメラのサーチ範囲設定部を示す説明図である。It is explanatory drawing which shows the search range setting part of the digital camera which is 1st Embodiment. 第1の実施形態であるデジタルカメラの全域サーチ範囲及び狭域サーチ範囲を示す説明図である。It is explanatory drawing which shows the whole region search range and narrow region search range of the digital camera which is 1st Embodiment. 第1の実施形態のデジタルカメラの撮影処理を説明するフローチャートである。3 is a flowchart for describing photographing processing of the digital camera of the first embodiment. 第1の実施形態のデジタルカメラの撮影処理を説明するフローチャートである。3 is a flowchart for describing photographing processing of the digital camera of the first embodiment. AFサーチ処理を説明するフローチャートである。It is a flowchart explaining AF search processing. AFサーチ処理時のAF評価値の変化を示すグラフである。It is a graph which shows the change of AF evaluation value at the time of AF search process. 第1の実施形態であるデジタルカメラの全域サーチ範囲及び狭域サーチ範囲を示す説明図である。It is explanatory drawing which shows the whole region search range and narrow region search range of the digital camera which is 1st Embodiment. 第2の実施形態のデジタルカメラの電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the digital camera of 2nd Embodiment. 第2の実施形態であるデジタルカメラにおけるサーチ範囲設定部を示す説明図である。It is explanatory drawing which shows the search range setting part in the digital camera which is 2nd Embodiment. 第2の実施形態であるデジタルカメラの撮影処理を説明するフローチャートである。It is a flowchart explaining the imaging | photography process of the digital camera which is 2nd Embodiment. 第2の実施形態であるデジタルカメラの撮影処理を説明するフローチャートである。It is a flowchart explaining the imaging | photography process of the digital camera which is 2nd Embodiment. 第2の実施形態であるデジタルカメラにおける全域サーチ範囲を示す説明図である。It is explanatory drawing which shows the whole area search range in the digital camera which is 2nd Embodiment. 第2の実施形態であるデジタルカメラにおける狭域サーチ範囲を示す説明図であり、狭域サーチ範囲でのAFサーチ処理でAF評価値の最大値が許容範囲以内の場合を示している。It is explanatory drawing which shows the narrow area search range in the digital camera which is 2nd Embodiment, and has shown the case where the maximum value of AF evaluation value is in a tolerance | permissible_range by the AF search process in a narrow area search range. 第2の実施形態であるデジタルカメラにおける全域サーチ範囲及び狭域サーチ範囲を示す説明図であり、狭域サーチ範囲でのAFサーチ処理でAF評価値の最大値が許容範囲外の場合を示している。It is explanatory drawing which shows the whole area search range and narrow area search range in the digital camera which is 2nd Embodiment, and shows the case where the maximum value of AF evaluation value is outside an allowable range by AF search processing in the narrow area search range. Yes. 第3の実施形態のデジタルカメラの電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the digital camera of 3rd Embodiment. 第3の実施形態のデジタルカメラにおけるサーチ範囲設定部を示す説明図である。It is explanatory drawing which shows the search range setting part in the digital camera of 3rd Embodiment. 第3の実施形態のデジタルカメラにおける全域サーチ範囲及び狭域サーチ範囲を示す説明図である。It is explanatory drawing which shows the whole area search range and the narrow area search range in the digital camera of 3rd Embodiment. 第3の実施形態であるデジタルカメラの撮影処理を説明するフローチャートである。10 is a flowchart for describing photographing processing of a digital camera according to a third embodiment. 第3の実施形態であるデジタルカメラの撮影処理を説明するフローチャートである。10 is a flowchart for describing photographing processing of a digital camera according to a third embodiment.

符号の説明Explanation of symbols

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 Camera body 13 Shooting lens 40 CPU
42 RAM
43 Zoom lens 45 Focus lens 52 CCD image sensor 63, 71, 81 Search range setting unit 63a Photometric value determination unit 71a AF evaluation value determination unit 81a AF evaluation value determination unit A, B, D Maximum value of AF evaluation value E AF evaluation Value reference value G In-focus position M Narrow-area search start position N Narrow-area search end position P All-area search start position Q All-area search end position X, Y Photometric value

Claims (10)

シャッタボタンが操作された時に、フォーカスレンズを所定のサーチ範囲で移動させながら、固体撮像素子によって撮像された画像データの高周波成分の積分値であるAF評価値を逐次算出し、これらのAF評価値に基づいて前記フォーカスレンズを合焦位置に移動させて、撮影レンズの焦点調節を行う撮影装置において、
前記シャッタボタンが操作された時に、前記画像データに基づいて測光を行う測光手段と、
前記測光手段によって測光された測光値、及び前記合焦位置を記憶する記憶手段と、
前記測光手段によって測光された測光値と、前記測光値記憶手段に記憶された前回の測光値とを比較し、その変化量が許容範囲以内であるか否かを判定する測光値判定手段と、
前記測光値判定手段によって、前記許容範囲外である判定された場合、前記サーチ範囲を第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.
前記サーチ範囲設定手段は、前記測光値及び前記合焦位置が前記記憶手段に記憶されていない場合、前記サーチ範囲を前記第1のサーチ範囲に設定し、前記制御手段は、前記第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. 2. The photographing apparatus according to claim 1, wherein the focus lens is moved within a range to perform focus adjustment, and the photometric value and the in-focus position are stored in the storage unit. 前記制御手段は、前記シャッタボタン以外の操作ボタンが操作された時に、前記記憶手段に記憶された前記測光値及び前記合焦位置を無効にすることを特徴とする請求項1または請求項2記載の撮影装置。   3. The control unit according to claim 1, wherein the control unit invalidates the photometric value and the in-focus position stored in the storage unit when an operation button other than the shutter button is operated. Shooting device. 前記撮影レンズはズームレンズを備え、前記第1及び第2のサーチ範囲の幅及び位置は、前記ズームレンズの位置に基づいて変更されることを特徴とする請求項1ないし請求項3のいずれか記載の撮影装置。   4. The photographing lens according to claim 1, 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. シャッタボタンが操作された時に、フォーカスレンズを所定のサーチ範囲で移動させながら、固体撮像素子によって撮像された画像データの高周波成分の積分値であるAF評価値を逐次算出し、これらのAF評価値に基づいて前記フォーカスレンズを合焦位置に移動させて、撮影レンズの焦点調節を行う撮影装置において、
前記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.
前記制御手段は、前記シャッタボタン以外の操作ボタンが操作された時に、前記記憶手段に記憶された前記最大値、及び前記合焦位置を無効にすることを特徴とする請求項5記載の撮影装置。   6. The photographing apparatus according to claim 5, wherein the control unit invalidates the maximum value and the in-focus position stored in the storage unit when an operation button other than the shutter button is operated. . 前記撮影レンズはズームレンズを備え、前記第1及び第2のサーチ範囲の幅及び位置は、前記ズームレンズの位置に基づいて変更されることを特徴とする請求項5または請求項6のいずれか記載の撮影装置。   7. The photographing lens according to claim 5, 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 photographing apparatus described. シャッタボタンが操作された時に、フォーカスレンズを所定のサーチ範囲で移動させながら、固体撮像素子によって撮像された画像データの高周波成分の積分値であるAF評価値を逐次算出し、これらのAF評価値に基づいて前記フォーカスレンズを合焦位置に移動させて、撮影レンズの焦点調節を行う撮影装置において、
前記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.
前記第2のサーチ範囲は、前記第1のサーチ範囲に対して、前記撮影レンズの温度特性による誤差を吸収するためのオーバーサーチ量を加えたサーチ範囲であることを特徴とする請求項8記載の撮影装置。   9. The search range according to claim 8, wherein the second search range is a search range obtained by adding an oversearch amount for absorbing an error due to a temperature characteristic of the photographing lens to the first search range. Shooting device. 前記撮影レンズはズームレンズを備え、前記第1及び第2のサーチ範囲の幅及び位置は、前記ズームレンズの位置に基づいて変更されることを特徴とする請求項8または請求項9のいずれか記載の撮影装置。
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.
JP2005244805A 2005-08-25 2005-08-25 Photographing device Pending JP2007057974A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (7)

* Cited by examiner, † Cited by third party
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