JP6164978B2 - FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE - Google Patents
FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE Download PDFInfo
- Publication number
- JP6164978B2 JP6164978B2 JP2013171248A JP2013171248A JP6164978B2 JP 6164978 B2 JP6164978 B2 JP 6164978B2 JP 2013171248 A JP2013171248 A JP 2013171248A JP 2013171248 A JP2013171248 A JP 2013171248A JP 6164978 B2 JP6164978 B2 JP 6164978B2
- Authority
- JP
- Japan
- Prior art keywords
- focus
- focus adjustment
- subject
- lens
- control unit
- 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.)
- Active
Links
Images
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
Description
本発明は、焦点調整装置、その制御方法、および制御プログラム、並びに撮像装置に関し、特に、被写体を指定して動画撮影を行う際に用いられる焦点調整装置に関する。 The present invention relates to a focus adjustment apparatus, a control method thereof, a control program, and an imaging apparatus, and more particularly to a focus adjustment apparatus used when a subject is designated to perform moving image shooting.
従来、ビデオカメラ又はデジタルカメラなどの撮像装置では、被写体を自動的に認識して、当該認識した被写体に対して自動的に焦点調整を行う制御が行われている。そして、複数の被写体を認識して、これら被写体の優先度を切り替えて焦点調整を行うようにした撮像装置がある(特許文献1参照)。 Conventionally, in an imaging device such as a video camera or a digital camera, control is performed to automatically recognize a subject and automatically adjust the focus on the recognized subject. There is an imaging apparatus that recognizes a plurality of subjects and performs focus adjustment by switching the priorities of these subjects (see Patent Document 1).
ところで、撮像装置で用いられる焦点調整装置(つまり、オートフォーカス装置)では、撮像素子によって被写体像(光学像)を光電変換して得られた映像信号に基づいてその鮮鋭度をAF評価値として検出する。そして、AF評価値が最大となるようにフォーカスレンズの位置を駆動制御して焦点調整を行う。 By the way, in a focus adjustment device (that is, an autofocus device) used in an imaging device, the sharpness is detected as an AF evaluation value based on a video signal obtained by photoelectrically converting a subject image (optical image) by an imaging device. To do. Then, the focus adjustment is performed by driving and controlling the position of the focus lens so that the AF evaluation value is maximized.
一般に、AF評価値には、所定の周波数帯域を通過させるバンドパスフィルタ−を用いて抽出された映像信号における高周波成分レベルが用いられる。そして、被写体を撮影する際、当該被写体にピントが合うにつれてAF評価値が大きくなって、AF評価値が最大になるフォーカスレンズの位置が合焦位置となる。 In general, as the AF evaluation value, a high-frequency component level in a video signal extracted using a band-pass filter that passes a predetermined frequency band is used. When the subject is photographed, the AF evaluation value increases as the subject is focused, and the position of the focus lens that maximizes the AF evaluation value becomes the in-focus position.
但し、映像信号に応じてAF評価値を求めるので、ブレなどの影響によって撮影画像(つまり、映像信号)における空間周波数が低下して高周波成分が減少する。このため、被写体までの距離とは無関係にAF評価値が低下してしまうことがある。 However, since the AF evaluation value is obtained according to the video signal, the spatial frequency in the photographed image (that is, the video signal) is reduced due to the influence of blurring or the like, and the high frequency component is reduced. For this reason, the AF evaluation value may decrease regardless of the distance to the subject.
空間周波数の低下によって、今までユーザが意図する被写体に合焦していたにも拘わらず、撮像装置が被写体までの距離が変化したと判断して合焦位置を探す動作に入ってしまうことがある。その結果、ユーザの意図しない被写体に対して合焦されてしまうことがある。 Due to the decrease in the spatial frequency, the imaging apparatus may enter an operation of searching for a focus position by determining that the distance to the subject has changed even though the user has focused on the subject intended by the user. is there. As a result, a subject unintended by the user may be focused.
さらに、焦点調整を行う際、フォーカスレンズを断続的に駆動してAF評価値を得て、AF評価値が大きくなる方向にフォーカスレンズを制御する所謂微小駆動動作がある。また、特定の方向にフォーカスレンズを駆動しつつAF評価値を得て、複数のAF評価値をプロットした形状に応じて合焦位置を特定する山登り動作がある。 Furthermore, when performing focus adjustment, there is a so-called micro-drive operation in which the focus lens is intermittently driven to obtain an AF evaluation value, and the focus lens is controlled in a direction in which the AF evaluation value increases. Further, there is a hill climbing operation in which an AF evaluation value is obtained while driving the focus lens in a specific direction, and a focus position is specified according to a shape in which a plurality of AF evaluation values are plotted.
このような複数の焦点調整方式を使い分けて焦点調整を行う場合には次のよう問題点がある。 There are the following problems when focus adjustment is performed using a plurality of such focus adjustment methods.
まず微小駆動動作を行って合焦位置の方向および合焦位置の特定を行うと、前述のブレなどの影響がある場合には撮影画像が安定している場合と比べてAF評価値の変化を検出することが難しい。このため、合焦位置およびその方向の特定に時間が掛かってしまう。 First, when the direction of the in-focus position and the in-focus position are specified by performing a minute drive operation, the AF evaluation value changes when there is an influence of the above-described blurring compared to the case where the captured image is stable. It is difficult to detect. For this reason, it takes time to specify the in-focus position and its direction.
その結果、焦点調整の途中で山登り動作に遷移して、広い範囲において合焦位置を探索することになるが、AF評価値の連続した変化から合焦位置を特定する山登り動作ではブレなどの影響を受けやすい。このため、誤判定によって本来の合焦位置ではない位置にフォーカスレンズが停止することがある。さらに、合焦位置への追従動作が不安定になることがある。 As a result, a transition to hill-climbing operation is performed during focus adjustment, and the focus position is searched in a wide range. It is easy to receive. For this reason, the focus lens may stop at a position other than the original in-focus position due to erroneous determination. Furthermore, the follow-up operation to the in-focus position may become unstable.
特に、動画撮影の際には、合焦位置への追従動作を行う際に得られる画像が動画として記録されてしまうので、得られた動画が見苦しくなることがある。 In particular, when shooting a moving image, an image obtained when performing the follow-up operation to the in-focus position is recorded as a moving image, and thus the obtained moving image may be unsightly.
上述のような問題点について、ユーザが任意に合焦動作を停止することができれば、撮像装置の使い勝手が向上する。一方、撮像装置にはタッチパネルが搭載され、表示部に表示された所謂スルー画像においてユーザが意図する被写体をタッチして合焦すべき被写体を指定するようにしたものがある。 If the user can arbitrarily stop the focusing operation with respect to the above-described problems, the usability of the imaging apparatus is improved. On the other hand, there is an image pickup apparatus that includes a touch panel and designates a subject to be focused by touching a subject intended by a user in a so-called through image displayed on a display unit.
しかしながら、このような撮像装置ではタッチパネル上で合焦すべき被写体を指定する操作と合焦動作を停止する操作とが異なるので、操作が煩雑となって使い勝手が悪くなってしまう。 However, in such an imaging apparatus, an operation for designating a subject to be focused on the touch panel is different from an operation for stopping the focusing operation, which makes the operation complicated and unusable.
従って、本発明の目的はブレなどによって画像に影響が生じる状況下において操作性を損なうことなくユーザが意図した被写体にピントを合わせることができる焦点調整装置、その制御方法、および制御プログラム、並びに撮像装置を提供することにある。 Accordingly, an object of the present invention is to provide a focus adjustment device that can focus on a subject intended by a user without impairing operability in a situation where an image is affected by blurring, a control method thereof, a control program, and an imaging To provide an apparatus.
上記の目的を達成するため、本発明による焦点調整装置は、フォーカスレンズを備える撮像光学系を介して入射した光学像に応じて得られた画像データに応じて前記フォーカスレンズを前記撮像光学系の光軸に沿って移動して焦点調整を行う焦点調整装置であって、前記画像データに応じた画像において指定された被写体に焦点を合わせる第1の焦点調整モードおよび前記画像データにおいて被写体を検出被写体として検出して当該検出被写体に焦点を合わせる第2の焦点調整モードを選択的に行う制御手段を有し、前記制御手段は、前記第1の焦点調整モードの際、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズの焦点位置を固定し、前記第2の焦点調整モードを実行している際に、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする。 In order to achieve the above object, a focus adjustment apparatus according to the present invention includes a focus lens that is connected to an imaging optical system that includes a focus lens according to image data obtained according to an optical image. A focus adjustment device that performs focus adjustment by moving along an optical axis, wherein a subject is detected in a first focus adjustment mode for focusing on a subject specified in an image corresponding to the image data and the image data And a control unit that selectively performs a second focus adjustment mode that focuses on the detected subject, and the control unit specifies a subject in the image during the first focus adjustment mode. Then, after focusing on the designated subject, the focus position of the focus lens is fixed, and the second focus adjustment mode is executed. After the object is focused on the specified is the designated object in the image, characterized by continuing the focus adjustment by the focusing lens.
本発明による撮像装置は、フォーカスレンズを備える撮像光学系と、前記撮像光学系を介して入射した光学像に応じた画像データを得る撮像手段と、上記の焦点調整装置とを有することを特徴とする。 An image pickup apparatus according to the present invention includes an image pickup optical system including a focus lens, an image pickup unit that obtains image data according to an optical image incident through the image pickup optical system, and the focus adjustment apparatus described above. To do.
本発明による制御方法は、フォーカスレンズを備える撮像光学系を介して入射した光学像に応じて得られた画像データに応じて前記フォーカスレンズを前記撮像光学系の光軸に沿って移動して焦点調整を行う焦点調整装置の制御方法であって、前記画像データに応じた画像において指定された被写体に焦点を合わせる第1の焦点調整モードを行う第1の制御ステップと、前記画像データにおいて被写体を検出被写体として検出して当該検出被写体に焦点を合わせる第2の焦点調整モードを行う第2の制御手段とを有し、前記第1の制御ステップでは、前記第1の焦点調整モードの際、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズの焦点位置を固定し、前記第2の制御ステップでは、第2の焦点調整モードを実行している際に、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする。 According to the control method of the present invention, the focus lens is moved along the optical axis of the imaging optical system in accordance with image data obtained according to an optical image incident through the imaging optical system including the focus lens. A control method of a focus adjustment apparatus that performs adjustment, wherein a first control step of performing a first focus adjustment mode for focusing on a subject specified in an image corresponding to the image data, and a subject in the image data And a second control means for performing a second focus adjustment mode for detecting the detected subject and focusing on the detected subject. In the first control step, in the first focus adjustment mode, When a subject is specified in the image, the focus position of the focus lens is fixed after focusing on the specified subject, and in the second control step, When running a second focal point adjustment mode, after the subject in the image is focused on the specified is the designated object, characterized by continuing the focus adjustment by the focusing lens.
本発明による制御プログラムは、フォーカスレンズを備える撮像光学系を介して入射した光学像に応じて得られた画像データに応じて前記フォーカスレンズを前記撮像光学系の光軸に沿って移動して焦点調整を行う焦点調整装置で用いられる制御プログラムであって、前記焦点調整装置が備えるコンピュータに、前記画像データに応じた画像において指定された被写体に焦点を合わせる第1の焦点調整モードを行う第1の制御ステップと、前記画像データにおいて被写体を検出被写体として検出して当該検出被写体に焦点を合わせる第2の焦点調整モードを行う第2の制御手段とを実行させ、前記第1の制御ステップでは、前記第1の焦点調整モードの際、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズの焦点位置を固定し、前記第2の制御ステップでは、第2の焦点調整モードを実行している際に、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする。 The control program according to the present invention moves the focus lens along the optical axis of the imaging optical system according to image data obtained according to an optical image incident through the imaging optical system including the focus lens. A control program used in a focus adjustment apparatus that performs adjustment, wherein a first focus adjustment mode is performed in which a computer included in the focus adjustment apparatus performs a first focus adjustment mode for focusing on a subject specified in an image corresponding to the image data. And a second control means for detecting a subject as a detection subject in the image data and performing a second focus adjustment mode for focusing on the detection subject. In the first control step, In the first focus adjustment mode, when a subject is designated in the image, after focusing on the designated subject, When the focus position of the focus lens is fixed and the subject is designated in the image in the second control step when the second focus adjustment mode is executed, the designated subject is focused. After that, the focus adjustment by the focus lens is continued.
本発明によれば、ブレなどによって映像に影響が生じる状況下において操作性を損なうことなくユーザが意図した被写体にピントを合わせることができる。 According to the present invention, it is possible to focus on a subject intended by a user without impairing operability in a situation where an image is affected by blurring or the like.
以下、本発明の実施の形態による焦点調整装置を備える撮像装置の一例について図面を参照して説明する。 Hereinafter, an example of an imaging apparatus including a focus adjustment apparatus according to an embodiment of the present invention will be described with reference to the drawings.
[第1の実施形態]
図1は、本発明の第1の実施形態による焦点調整装置を備える撮像装置の一例についてその構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration of an example of an imaging apparatus including a focus adjustment apparatus according to the first embodiment of the present invention.
<撮像装置全体の構成>
図示の撮像装置は、例えば、デジタルカメラ(以下単にカメラと呼ぶ)であり、所謂動画撮影機能を有している。システム制御部115はカメラ全体の制御を司り、例えば、CPU、RAM、およびROMを有している。そして、CPUはROMに予め記録されたプログラムに従ってRAMを作業領域として用い、カメラの動作を制御する。
<Configuration of the entire imaging device>
The illustrated imaging apparatus is, for example, a digital camera (hereinafter simply referred to as a camera) and has a so-called moving image shooting function. The
後述するように、システム制御部115は、AF処理部105によって算出された焦点評価値に基づいて合焦位置(焦点位置ともいう)を特定する。そして、システム制御部115はフォーカスレンズ制御部104を制御してフォーカスレンズを光軸に沿って移動させて、自動焦点調整(AF)処理を行う。なお、焦点評価値は測距領域におけるコントラストの指標となる数値である。
As will be described later, the
撮影レンズユニット(以下単に撮影レンズと呼ぶ)100は、ズーム機能を備えている。ズームレンズ制御部101は、システム制御部115の制御下で焦点距離を変化させるズームレンズを駆動制御する。
The taking lens unit (hereinafter simply referred to as a taking lens) 100 has a zoom function. The zoom
絞り・シャッタ制御部102は、システム制御部115の制御下で光量を調節する絞りとシャッタとを駆動制御する。フォーカスレンズ制御部104は、システム制御部115の制御下でフォーカスレンズを駆動制御して、撮像素子108の受光面(撮像面ともいう)に焦点を合わせる。
The aperture /
なお、図示はしないが、ズームレンズ制御部101、絞り・シャッタ制御部102、およびフォーカスレンズ制御部104は、レンズなどの光学要素、絞り・シャッタなどの機構、そして、これらを駆動するために必要な各種装置を備えている。各種装置には、光学要素および上記の機構を駆動するためのアクチュエータ、当該アクチュエータを制御するための回路、およびD/A変換器などが含まれる。
Although not shown, the zoom
発光装置(ストロボ)106は、周囲に向けて光を発して被写体の輝度を調整する。EF処理部107は、システム制御部115からフラッシュオン信号を受けると、ストロボ106を制御して発光させる。システム制御部115は、ストロボ106を発光させる必要があると判断すると、EF処理部107に前述のフラッシュオン信号を送る。
The light emitting device (strobe) 106 emits light toward the surroundings to adjust the luminance of the subject. When receiving the flash-on signal from the
撮像素子108は、入射光(光学像)に応じた電気信号(アナログ信号)を出力する。例えば、撮像素子108は、CCD又はCMOSイメージセンサであり、複数の光電変換素子を備えて、入射光を光電変換してアナログ信号である撮像信号(画像信号)を生成する。
The
撮像処理部109は、CDS(相関2重サンプリング)回路、非線形増幅回路、およびA/D変換部を備えている。CDS回路は、撮像素子108の出力である撮像信号におけるノイズを相関2重サンプリングによって除去する。非線形増幅回路は、ノイズが除去された撮像信号について信号増幅(ゲイン制御)を行う。そして、A/D変換部は、信号増幅された撮像信号をデジタル信号(画像データ)に変換する。
The
なお、撮像素子108および撮像処理部109が被写体の撮像によって画像データを得る撮像部として機能する。
Note that the
画像処理部110は、画像データについてガンマ補正および輪郭補正などの所定の画像処理を行う。さらに、画像処理部110は、WB処理部111の制御によって画像データに対してホワイトバランス処理を行う。
The
フォーマット変換部112は、画像処理部110の出力である処理済み画像データを、記録および表示に適合するフォーマットにフォーマット変換する。
The
DRAM(ランダムアクセスメモリ)113は、高速の内蔵メモリであって、フォーマット変換された画像データ(変換済み画像データ)を一時的に記憶する高速バッファとして用いられる。また、DRAM113は、変換済み画像データを圧縮・伸張する際の作業用メモリとしても用いられる。
A DRAM (Random Access Memory) 113 is a high-speed built-in memory, and is used as a high-speed buffer that temporarily stores image data that has undergone format conversion (converted image data). The
画像記録部114は、メモリカードなどの記録媒体およびインターフェースを備えており、画像記録部114にはDRAM113に記憶された変換済み画像データが記録される。
The
AE処理部103は、撮像処理部109の出力である画像データに基づいて被写体の明るさに応じた測光値を求める。つまり、AE処理部103と撮像処理部109とは被写体を撮影する際の露出条件を検出する露出条件検出部として機能する。
The
また、AE処理部103は、被写体の輝度が低い場合(所定の輝度レベル未満である場合)に、撮像信号を増幅して適正露出を維持するための信号増幅量(ゲイン量)を決定する。言い換えると、AE処理部103は、撮像信号を適正な露出に補正するための信号増幅量(ゲイン量)を決定する。
Further, the
システム制御部115は、AE処理部103で求められた測光値に基づいて、絞り・シャッタ制御部102と撮像処理部109の非線形増幅回路とを制御する。これによって、システム制御部115は、露光量を自動的に調整する。つまり、システム制御部115は、露出条件検出部であるAE処理部103が検出した露出条件(つまり、測光値)を用いて自動露出(AE)処理を行うことになる。
The
AF処理部105は、撮像処理部109の出力である画像データに応じてAF評価値を求める。そして、システム制御部115は、当該AF評価値に応じてフォーカスレンズ制御部104を制御し自動焦点調整(AF)処理を行う。
The
図2は、図1に示すAF処理部105の構成についてその一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of the configuration of the
AF処理部105は測距ゲート122を有しており、測距ゲート122は画像データについてその画面の一部(例えば、AF枠で示される領域)を抽出する(以下この画像データを抽出画像データと呼ぶ)。そして、この抽出画像データはバンドパスフィルタ(BPF)123およびローパスフィルタ(LPF)125に与えられる。
The
BPF123は所定の周波数帯域の高周波成分を抽出して、当該高周波成分を検出(検波)部(DET)124に送る。DET124は、当該高周波成分についてピークホールド処理および積分処理を行って、その積分処理結果をAF評価値として出力する。
The
図示のAF処理部105は、画像データについてどの程度ピントが合っているかを示す合焦度を求める。前述のように、抽出画像データはLPF125に与えられ、LPF125は所定の低周波成分のみを通過させる。つまり、LPF125は高域周波成分を除去して低周波成分をライン最大値部(Line・Max)126およびライン最小値部(Line・Min)127に送る。
The illustrated
Line・Max126は水平1ラインにおける最大値を検出し、一方、Line・Min127は水平1ラインにおける最小値を検出する。
Line ·
加算部128は水平1ラインの最大値と最小値との差分(最大値−最小値)を求める。そして、ピークホールド部(Peak Hold)129は、加算部128から水平1ライン毎の差分を受けて、抽出画像データにおける全てのラインにおいて差分(最大値−最小値)のピーク値MMを検出する。このピーク値MMは抽出画像データにおけるコントラストの最大値に相当する。
The
除算部130には、前述のAF評価値(ここでは、ピークホールド値)が与えられるとともに、ピーク値MMが与えられる。除算部130はそして、ピークホールド値をピーク値MMで除算して、当該除算結果を合焦度として出力する。
The
図3は、図1で説明したフォーカスレンズの位置(レンズ位置)とAF評価値および合焦度との関係を説明するための図である。そして、図3(a)はレンズ位置とAF評価値との関係を示す図であり、図3(b)はレンズ位置と合焦度との関係を示す図である。 FIG. 3 is a diagram for explaining the relationship between the position (lens position) of the focus lens described in FIG. 1, the AF evaluation value, and the degree of focus. FIG. 3A shows the relationship between the lens position and the AF evaluation value, and FIG. 3B shows the relationship between the lens position and the degree of focus.
前述のように、AF評価値は積分処理結果であるので、ノイズなどの影響を受けにくいものの、被写体の種類および撮像条件(例えば、被写体輝度、照度、焦点距離)に応じて合焦位置における値が大きく変化する(図3(a)参照)。つまり、図示の領域AではAF評価値は極めて高くなるものの、領域BではAF評価値の変化が激しい。また、領域Cにおいては、AF評価値は低い。 As described above, since the AF evaluation value is the result of the integration process, the AF evaluation value is not easily affected by noise or the like. Changes significantly (see FIG. 3A). That is, in the illustrated area A, the AF evaluation value is extremely high, but in the area B, the AF evaluation value changes drastically. In region C, the AF evaluation value is low.
一方、合焦度は正規化することによって、合焦位置においては所定の値(図3(b)に示すMax)に近づき、画像がボケるにつれてその値が小さくなる傾向を示す。このため、後述するように、自動焦点調整処理(AF処理)の際にはAF評価値および合焦度を用いて、AF処理が行われる。 On the other hand, by normalizing the in-focus degree, the in-focus position approaches a predetermined value (Max shown in FIG. 3B), and the value tends to decrease as the image is blurred. For this reason, as will be described later, the AF process is performed using the AF evaluation value and the degree of focus during the automatic focus adjustment process (AF process).
再び図1を参照して、VRAM(画像表示用メモリ)116には、フォーマット変換された画像データ(ここでは、表示用画像データ)が記録される。操作表示部117は、システム制御部115の制御下で画像表示、操作補助のための表示、およびカメラ状態の表示を行う。
Referring to FIG. 1 again, format-converted image data (here, display image data) is recorded in VRAM (image display memory) 116. The
操作表示部117には、撮影の際にはVRAM116に一時的に記録された画像データに応じた画像が撮影画面として表示される。さらに、操作表示部117は、各種ボタンおよびタッチパネルなどを備えており、ユーザは操作表示部117を用いてカメラの操作を行うことができる。
The
メインスイッチ(メインSW)118は、カメラの電源をON/OFFするためのスイッチである。第1のスイッチ(SW1)119は、AFおよびAEなどの撮影スタンバイ動作(撮影準備動作)を行うためのスイッチである。第2のスイッチ(SW2)120は、第1のスイッチ119が操作された後、撮像を行う際に操作されるスイッチである。
The main switch (main SW) 118 is a switch for turning on / off the power of the camera. The first switch (SW1) 119 is a switch for performing a shooting standby operation (shooting preparation operation) such as AF and AE. The second switch (SW2) 120 is a switch that is operated when imaging is performed after the
<基本動作>
図4は、図1に示すカメラで行われる焦点調整処理の一例を説明するためのフローチャートである。
<Basic operation>
FIG. 4 is a flowchart for explaining an example of the focus adjustment process performed by the camera shown in FIG.
図示のフローチャートに係る処理はカメラによる動画記録中および待機中に継続して行われる。さらに、当該フローチャートに係る処理はコンピュータプログラム(ソフトウェア)としてシステム制御部115に備えられたROMに記憶されている。そして、メインSW118の操作によって電源が投入されて、カメラが起動した後に、システム制御部115はROMに記憶されたプログラムに応じて処理を実行する。
The processing according to the flowchart shown in the figure is continuously performed during moving image recording and standby by the camera. Furthermore, the processing according to the flowchart is stored in a ROM provided in the
焦点調整処理を開始すると、システム制御部115はまず、後述する微小駆動動作を行う(ステップS200)。ここで、微小駆動動作とは、断続的に少しずつフォーカスレンズを光軸に沿って移動させて、断続的に得られるAF評価値の変化に応じて合焦位置の方向および合焦位置(焦点位置ともいう)を特定することをいう。
When the focus adjustment process is started, the
微小駆動動作によって合焦位置の方向および合焦位置を特定した後、システム制御部115は、後述する被写体指定処理を行う(ステップS201)。被写体指定処理においては、操作表示部117に備えられたタッチパネルを用いてユーザが画面における被写体を指定すると、焦点調整動作によって合焦させる被写体が設定される。
After specifying the direction of the in-focus position and the in-focus position by the minute driving operation, the
さらに、被写体指定処理においては、図2で説明した測距ゲート122によって抽出される画像データの一部領域(例えば、AF枠の領域)が設定される。加えて、被写体指定処理においては、後述するように、焦点調整動作の状態遷移が変更される。
Further, in the subject specifying process, a partial area (for example, an AF frame area) of the image data extracted by the
続いて、システム制御部115は、ステップS200およびS201の処理結果に応じてAF評価値監視処理に遷移するか否かを判定する(ステップS202)。AF評価値監視処理に遷移しないと判定すると(ステップS202において、NO)、システム制御部115は山登り動作に遷移するか否かを判定する(ステップS203)。山登り動作に遷移しないと判定すると(ステップS203において、NO)、システム制御部115はステップS200の処理に戻って微小駆動動作を継続する。
Subsequently, the
山登り動作に遷移すると判定すると(ステップS203において、YES)、システム制御部115は、後述する山登り動作を行う(ステップS204)。ここで、山登り動作とは、連続的にフォーカスレンズを光軸に沿って移動させた結果得られた複数のAF評価値の変化に応じて合焦位置を特定する手法である。
If it is determined that a transition is made to a hill-climbing operation (YES in step S203),
ステップS204の処理の後、システム制御部115は、後述する被写体指定処理を行う(ステップS205)。ステップS205における被写体指定処理では、操作表示部117に備えられたタッチパネルを用いてユーザが画面上の被写体を指定したか否かに応じて、焦点調整動作の状態遷移が変更される。
After the processing in step S204, the
続いて、システム制御部115はステップS204およびS205の処理結果に応じて微小駆動動作に遷移するか否かを判定する(ステップS206)。微小駆動動作に遷移しないと判定すると(ステップS206において、NO)、システム制御部115はAF評価値監視処理に遷移するか否かを判定する(ステップS207)。
Subsequently, the
AF評価値監視処理に遷移しないと判定すると(ステップS207において、NO)、システム制御部115はステップS204の処理に戻って山登り動作を行う。一方、AF評価値監視処理に遷移すると判定すると(ステップS207において、YES)、システム制御部115はAF固定フラグの状態を判定する(ステップS208)。ここでは、システム制御部115はAF固定フラグがFALSEであるか否かを判定する。
If it is determined that the transition to the AF evaluation value monitoring process is not made (NO in step S207), the
ここで、AF固定フラグは被写体指定処理において設定されるフラグである。そして、AF固定フラグの状態に応じて、システム制御部115はAF評価値監視処理の遷移を継続するか又はAF評価値監視処理に遷移せずにAFを固定して焦点調整動作を終了するかを決定する。
Here, the AF fixed flag is a flag set in the subject specifying process. Then, depending on the state of the AF fixed flag, whether the
AF固定フラグがFALSEであると(ステップS208において、YES)、システム制御部115は、前述のステップS200で特定した合焦位置又は非合焦として中断したレンズ位置におけるAF評価値を記憶する(ステップS209)。そして、システム制御部115はAF評価値監視処理を行う(ステップS210)。
When the AF fixed flag is FALSE (YES in step S208), the
ステップS210で行われるAF評価値監視処理では、システム制御部115は、記憶したAF評価値と周期的に得られるAF評価値とを比較して、その変化を監視する。
In the AF evaluation value monitoring process performed in step S210, the
続いて、システム制御部115は被写体指定処理を行う(ステップS211)。ステップS211における被写体指定処理では、操作表示部117に備えられたタッチパネルを用いてユーザが被写体を指定したか否かに応じて焦点調整動作の状態遷移が変更される。
Subsequently, the
ステップS211の処理の後、システム制御部115はステップS210およびS211の処理結果に応じて微小駆動動作に遷移するか否かを判定する(ステップS212)。微小駆動動作に遷移すると判定すると(ステップS212において、YES)、システム制御部115は、ステップS200の処理に戻って微小駆動動作を行う。
After the process of step S211, the
一方、微小駆動動作に遷移しないと判定すると(ステップS212において、NO)、システム制御部115は、ステップS210の処理に戻ってAF評価値監視処理を行う。
On the other hand, when it is determined that the transition to the minute driving operation is not made (NO in step S212), the
AF固定フラグがFALSEでないと(ステップS208において、NO)、つまり、AF固定フラグがTRUEであると、システム制御部115は、AF固定フラグをFALSEとして(ステップS213)、AFを固定する(ステップS214)。そして、システム制御部115は焦点調整処理を終了する。
If the AF fixed flag is not FALSE (NO in step S208), that is, if the AF fixed flag is TRUE, the
なお、ステップS206において、微小駆動動作に遷移すると判定すると(ステップS206において、YES)、システム制御部115はステップS200の処理に戻って微小駆動動作を行う。また、ステップS202において、AF評価値監視処理に遷移すると判定すると(ステップS202において、YES)、システム制御部115はステップS208の処理に進んで、AF固定フラグがFALSEであるか否かを判定する。
If it is determined in step S206 that the mode is to be changed to the minute driving operation (YES in step S206), the
このように、焦点調整処理においては、システム制御部115は微小駆動動作、山登り動作、およびAF評価値監視処理のいずれかを選択して、様々なシーンの変化に応じて合焦状態を維持するようにフォーカスレンズを制御することになる。
As described above, in the focus adjustment process, the
<微小駆動動作>
図5は、図4に示す微小駆動動作の一例を説明するためのフローチャートである。
<Small drive operation>
FIG. 5 is a flowchart for explaining an example of the minute driving operation shown in FIG.
前述したように、微小駆動動作とは、断続的に少しずつフォーカスレンズを光軸に沿って移動させた結果得られたAF評価値の変化に応じて合焦位置の方向および合焦位置を特定する手法である。 As described above, the micro-drive operation is to specify the direction of the in-focus position and the in-focus position according to the change in the AF evaluation value obtained as a result of intermittently moving the focus lens along the optical axis. It is a technique to do.
微小駆動動作を開始すると、システム制御部115は、AF処理部105からAF評価値を取得する(ステップS300)。続いて、システム制御部115は、AF処理部105から合焦度を取得する(ステップS301)。
When the minute driving operation is started, the
次に、システム制御部115は微小駆動におけるフォーカスレンズの移動量を設定する(ステップS302)。ここでは、合焦位置に近づく程、フォーカスレンズの移動量を小さくし、合焦位置から外れる程フォーカスレンズの移動量を大きくして微小駆動動作において安定したピント追従を行う。
Next, the
このため、システム制御部115はステップS301で取得した合焦度(つまり、現在の合焦度)に応じてフォーカスレンズの移動量を設定する。
For this reason, the
図3(b)を参照して、例えば、合焦度に関して第1の合焦閾値α、第2の合焦閾値β、および第3の合焦閾値γが設定されて、α>β>γの関係にあるものとする。この第1〜第3の合焦閾値α〜γを用いて、システム制御部115は次のようにフォーカスレンズの移動量を設定する。
Referring to FIG. 3B, for example, the first focus threshold value α, the second focus threshold value β, and the third focus threshold value γ are set with respect to the focus degree, and α> β> γ. It shall be in the relationship. Using the first to third focus threshold values α to γ, the
合焦度>αの場合、システム制御部115はフォーカスレンズの移動量を移動量Step1とする。α≧合焦度>βの場合、システム制御部115はフォーカスレンズの移動量を移動量Step2とする。β≧合焦度>γの場合、システム制御部115はフォーカスレンズの移動量を移動量Step3とする。そして、γ≧合焦度の場合、システム制御部115はフォーカスレンズの移動量を移動量Step4とする。
When the degree of focus> α, the
なお、Step1<Step2<Step3<Step4である。 Note that Step1 <Step2 <Step3 <Step4.
次に、システム制御部115は現在のAF評価値が(直前のAF評価値+変化閾値A)よりも大きいか否かを判定する(ステップS303)。ここで変化閾値AはAF評価値が明確に上昇したと判定するための閾値であって、AF評価値の増加量に加えてノイズ成分によるばらつきを考慮して設定される。
Next, the
現在のAF評価値>直前のAF評価値+変化閾値Aであると(ステップS303において、YES)、システム制御部115は内蔵する方向特定カウンタをインクリメントする(ステップS304)。この方向特定カウンタは合焦位置の方向を特定するためのものであり、方向特定カウンタのカウント値が大きくなる程合焦位置に向けて安定してAF評価値が増加していることを示している。
If current AF evaluation value> immediate AF evaluation value + change threshold A (YES in step S303),
続いて、システム制御部115はフォーカスレンズ制御部104を制御して、ステップS302で設定した移動量に応じて現在のレンズ位置からフォーカスレンズを光軸に沿って移動させる(ステップS305)。この際、その移動方向は直前の移動方向と同一とされる。
Subsequently, the
一方、現在のAF評価値≦直前のAF評価値+変化閾値Aであると(ステップS303において、NO)、システム制御部115は現在のAF評価値が(直前のAF評価値−変化閾値A)よりも大きいか否かを判定する(ステップS306)。ステップS306の処理では、システム制御部115はAF評価値の減少傾向を検出することになる。
On the other hand, if the current AF evaluation value ≦ the previous AF evaluation value + the change threshold A (NO in step S303), the
現在のAF評価値≧直前のAF評価値−変化閾値Aであると、ステップS302で設定した移動量に応じて現在のレンズ位置からフォーカスレンズを光軸に沿って移動させる(ステップS307)。ステップS307では、システム制御部115がフォーカスレンズ制御部104を制御して、フォーカスレンズを光軸に沿って移動させる。
If the current AF evaluation value ≧ the previous AF evaluation value−the change threshold A, the focus lens is moved along the optical axis from the current lens position in accordance with the movement amount set in step S302 (step S307). In step S307, the
この際、明示的なAF評価値の増減が検出できないので、システム制御部115は方向特定カウンタによるカウントを行わない。
At this time, since an increase or decrease in the explicit AF evaluation value cannot be detected, the
現在のAF評価値<直前のAF評価値−変化閾値Aであると(ステップS306において、YES)、システム制御部115は方向特定カウンタをクリアする(ステップS308)。そして、システム制御部115はフォーカスレンズ制御部104を制御して直前の移動方向とは反対方向に、ステップS302で設定した移動量に応じて現在のレンズ位置からフォーカスレンズを光軸に沿って移動させる(ステップS309)。
If current AF evaluation value <immediate AF evaluation value−change threshold A (YES in step S306),
ステップS305、S307、又はS309の処理に続いて、システム制御部115は所定の回数、同一のエリア内でフォーカスレンズを往復したか否かを判定する(ステップS310)。
Following the processing of step S305, S307, or S309, the
図3(a)を参照して、例えば、領域Aで示すように合焦位置の近傍までレンズ位置が収束した場合には、微小駆動動作において合焦位置を通過するとAF評価値が減少するので、次の制御タイミングでAF評価値は反転することになる。そして、微小駆動動作を継続すると、最終的に合焦位置を跨いでフォーカスレンズが往復動作することになる。よって、所定の回数同一エリア内でフォーカスレンズが往復していれば、フォーカスレンズが合焦位置にあると推定することができる。 Referring to FIG. 3A, for example, when the lens position converges to the vicinity of the in-focus position as indicated by region A, the AF evaluation value decreases when the in-focus position is passed in the minute driving operation. The AF evaluation value is inverted at the next control timing. When the minute driving operation is continued, the focus lens finally reciprocates across the in-focus position. Therefore, if the focus lens reciprocates within the same area a predetermined number of times, it can be estimated that the focus lens is in the in-focus position.
再び図5を参照して、所定の回数同一のエリア内でフォーカスレンズが往復していないと(ステップS310において、NO)、システム制御部115は方向特定カウンタのカウント値が所定のカウント値以上であるか否かを判定する(ステップS311)。方向特定カウンタのカウント値が所定のカウント値未満であると(ステップS311において、NO)、一連の微小駆動動作を所定の回数行い、かつステップS301で取得した合焦度が所定の閾値よりも低いか否かを判定する(ステップS312)。
Referring to FIG. 5 again, if the focus lens does not reciprocate within the same area a predetermined number of times (NO in step S310),
図3(a)を参照すると、例えば、領域CのようにAF評価値の変化が乏しい領域(エリア)においては、所定の回数以内で合焦位置およびその方向が特定できないことがある。つまり、領域Cのようにサーチ範囲が広く、しかも合焦位置から現在のレンズ位置が離れすぎていると合焦位置を探索することが困難となるか又はサーチ範囲外に合焦位置が存在することがある。このような状況では、微小駆動動作を継続しても合焦位置とその方向を探索することは困難である。 Referring to FIG. 3A, for example, in an area (area) where the AF evaluation value hardly changes like the area C, the in-focus position and its direction may not be specified within a predetermined number of times. That is, if the search range is wide as in the region C and the current lens position is too far from the focus position, it is difficult to search for the focus position, or the focus position exists outside the search range. Sometimes. In such a situation, it is difficult to search for the in-focus position and its direction even if the minute driving operation is continued.
再び図5を参照して、一連の微小駆動動作が所定の回数行われ、かつ合焦度が所定の閾値よりも低い状態でないと(ステップS312において、NO)、システム制御部115は微小駆動動作を継続すると判定して(ステップS313)、焦点調整処理に戻る。
Referring to FIG. 5 again, if the series of micro driving operations are performed a predetermined number of times and the degree of focus is not lower than the predetermined threshold (NO in step S312),
一連の微小駆動動作が所定の回数行われ、かつ合焦度が所定の閾値よりも低い状態であると(ステップS312において、YES)、システム制御部115は非合焦と判定し、微小駆動動作から山登り動作に遷移する(ステップS314)。そして、システム制御部115は焦点調整処理に戻る。
When a series of micro drive operations are performed a predetermined number of times and the in-focus degree is lower than a predetermined threshold (YES in step S312),
方向特定カウンタのカウント値が所定のカウント値以上であると(ステップS311において、YES)、システム制御部115は方向特定と判定し、微小駆動動作から山登り動作に遷移する(ステップS315)。そして、システム制御部115は焦点調整処理に戻る。
If the count value of the direction specifying counter is equal to or greater than the predetermined count value (YES in step S311),
所定の回数同一のエリア内でフォーカスレンズが往復していると(ステップS310において、YES)、システム制御部115は合焦と判定し、微小駆動動作からAF評価値監視処理に遷移する(ステップS316)。そして、システム制御部115は焦点調整処理に戻る。
If the focus lens reciprocates within the same area a predetermined number of times (YES in step S310),
なお、ステップS310〜S316までの処理では、システム制御部115は周期的に得られるAF評価値の変化を検出して、当該検出結果に基づいて微小駆動動作における判定を行う。
In the processing from step S310 to step S316, the
<山登り動作>
図6は、図4に示す山登り動作の一例を説明するためのフローチャートである。
<Mountain climbing action>
FIG. 6 is a flowchart for explaining an example of the mountain climbing operation shown in FIG.
前述のように、山登り動作とは、連続的にフォーカスレンズを光軸に沿って移動させた結果得られた複数のAF評価値の変化に応じて合焦位置を特定する手法である。 As described above, the hill-climbing operation is a method for specifying the in-focus position in accordance with changes in a plurality of AF evaluation values obtained as a result of continuously moving the focus lens along the optical axis.
山登り動作を開始すると、システム制御部115はAF処理部105からAF評価値および当該AF評価値に対応するフォーカスレンズの位置(レンズ位置)を取得する(ステップS400)。次に、システム制御部115はAF処理部105から合焦度を取得する(ステップS401)。
When the mountain climbing operation is started, the
続いて、システム制御部115は合焦度に応じて山登り動作におけるフォーカスレンズの移動速度(レンズ速度)を設定する(ステップS402)。ここでは、フォーカスレンズが合焦位置に近づく程レンズ速度を遅くし、フォーカスレンズが合焦位置を外れる程レンズ速度を速くして山登り動作において安定してピント追従が行えるようにする。
Subsequently, the
図3(b)を参照して、前述のように、第1の合焦閾値α>第2の合焦閾値β>第3の合焦閾値γであるとすると、レンズ速度は次のようになる。 Referring to FIG. 3B, as described above, assuming that the first focus threshold value α> the second focus threshold value β> the third focus threshold value γ, the lens speed is as follows: Become.
合焦度>αの場合、システム制御部115はレンズ速度を速度Speed1とする。α≧合焦度>βの場合、システム制御部115はレンズ速度を速度Speed2とする。β≧合焦度>γの場合、システム制御部115はレンズ速度を速度Speed3とする。そして、γ≧合焦度の場合、システム制御部115はレンズ速度を速度Speed4とする。
When the degree of focusing is greater than α, the
なお、Speed1<Speed2<Speed3<Speed4である。 Note that Speed1 <Speed2 <Speed3 <Speed4.
再び図6を参照して、レンズ速度を設定した後、システム制御部115はフォーカスレンズが停止中であるか否かを判定する(ステップS403)。なお、フォーカスレンズは、微小駆動動作から山登り動作に遷移した直後又は山登り動作中にフォーカスレンズがサーチ範囲の端に到達した場合のいずれかに停止中となる。
Referring to FIG. 6 again, after setting the lens speed, the
フォーカスレンズが停止中であると(ステップS403において、YES)、システム制御部115は現在のレンズ位置が移動端であるか否かを判定する(ステップS405)。レンズ位置が移動端でないと(ステップS405において、NO)、システム制御部115はフォーカスレンズが微小駆動動作から山登り動作に遷移した直後であると判断する。そして、微小駆動動作における進行方向を指定方向として引き継いでフォーカスレンズを移動させる(ステップS406)。
If the focus lens is stopped (YES in step S403), the
レンズ位置が移動端であると(ステップS405において、YES)、システム制御部115は今までの進行方向とは反対方向にフォーカスレンズを移動させる(ステップS407)。
If the lens position is the moving end (YES in step S405), the
ステップS406又はS407の処理に続いて、システム制御部115はフォーカスレンズが所定の回数、移動端に到達したか否かを判定する(ステップS408)。なお、フォーカスレンズが停止中でないと(ステップS403において、NO)、システム制御部115はステップS408の処理に進む。そして、フォーカスレンズが所定の回数移動端に到達すると(ステップS408において、YES)、システム制御部115は、フォーカスレンズ制御部104によってフォーカスレンズを停止する(ステップS409)。
Following the processing of step S406 or S407, the
図3(a)を参照して、少なくともサーチ範囲の両方の端(移動端)に到達しても、合焦位置が特定できない場合には、サーチ範囲全域が領域CのようにAF評価値の変化が乏しい領域であって、合焦位置はフォーカスレンズのサーチ範囲外に存在すると推定できる。このような状況下で山登り動作を継続すると、ピント変動が大きくなってピント変動の大きな状態が繰り返されることになる。 Referring to FIG. 3A, if the in-focus position cannot be specified even if at least both ends (moving ends) of the search range are reached, the entire search range has the AF evaluation value as in region C. It is an area where the change is scarce, and it can be estimated that the in-focus position is outside the search range of the focus lens. If the mountain climbing operation is continued under such circumstances, the focus variation becomes large, and the state where the focus variation is large is repeated.
このような状態を回避するため、前述のように、フォーカスレンズが所定の回数移動端に到達すると、システム制御部115は、フォーカスレンズ制御部104によってフォーカスレンズを停止する。そして、システム制御部115は山登り動作における判定結果を非合焦として、AF評価値監視処理に遷移し(ステップS410)、焦点調整処理に戻る。
In order to avoid such a state, as described above, when the focus lens reaches the moving end a predetermined number of times, the
一方、フォーカスレンズが所定の回数移動端に到達しないと(ステップS408において、NO)、システム制御部115は、現在のAF評価値と直前のAF評価値とを比較する。そして、現在のAF評価値が直前のAF評価値よりも大きいか否かを判定する(ステップS411)。現在のAF評価値>直前のAF評価値であると(ステップS411において、YES)、システム制御部115は山登り動作を継続すると判断して、山登り動作を続行する(ステップS412)。そして、システム制御部115は焦点調整処理に戻る。
On the other hand, if the focus lens does not reach the moving end a predetermined number of times (NO in step S408),
図3(a)に示すように、領域Bにおいて合焦位置の方向に正しく山登り動作を行っている場合などAF評価値の増加傾向が検出できる場合には、当該方向に向けて山登り動作が行われることになる。 As shown in FIG. 3A, when an upward trend of the AF evaluation value can be detected such as when the hill-climbing operation is correctly performed in the direction of the in-focus position in the region B, the hill-climbing operation is performed in the direction. Will be.
現在のAF評価値≦直前のAF評価値であると(ステップS411において、NO)、システム制御部115はAF評価値がピークを越えて減少したか否かを判定する(ステップS413)。AF評価値がピークを越えて減少すると(ステップS413において、YES)、システム制御部115はフォーカスレンズ制御部104によってフォーカスレンズを停止させる(ステップS414)。
If the current AF evaluation value ≦ the previous AF evaluation value (NO in step S411), the
例えば、図3(a)に示す領域Bから領域Aに向けて山登り動作を行う場合には、AF評価値がピークを越えて減少することになる。 For example, when a hill-climbing operation is performed from region B to region A shown in FIG. 3A, the AF evaluation value decreases beyond the peak.
ステップS414の処理の後、システム制御部115は山登り動作における判定結果を合焦として、微小駆動動作に遷移する(ステップS415)。そして、システム制御部115は、フォーカスレンズ制御部によってフォーカスレンズをAF評価値がピークを示す位置に移動させて(ステップ416)、焦点調整処理に戻る。
After the process of step S414, the
一方、AF評価値がピークを越えて減少しないと(ステップS413において、NO)、システム制御部115はフォーカスレンズの移動方向を反転して、反対方向にフォーカスレンズを移動させる(ステップS417)。
On the other hand, if the AF evaluation value does not decrease beyond the peak (NO in step S413), the
例えば、図3(a)に示す領域Bにおいて合焦位置とは反対方向に山登り動作が行われると、AF評価値がピークを越えて減少しないことになる。 For example, if the mountain climbing operation is performed in the direction opposite to the in-focus position in the region B shown in FIG. 3A, the AF evaluation value does not decrease beyond the peak.
ステップS417の処理の後、システム制御部115は山登り動作を継続すると判断して、山登り動作を続行する(ステップS418)。そして、システム制御部115は焦点調整処理に戻る。
After the process of step S417, the
なお、ステップS408〜S418までの処理は、周期的に得られるAF評価値の変化を検出して、当該変化に基づいて山登り動作における判定を行う。 In the processes from step S408 to S418, a change in the AF evaluation value obtained periodically is detected, and a determination in the hill climbing operation is performed based on the change.
<AF評価値監視処理>
図7は、図4に示すAF評価値監視処理の一例を説明するためのフローチャートである。なお、前述のように、AF評価値監視処理とは、予め記憶されたAF評価値に対して現在のAF評価値が変動したか否かを検出するための処理である。
<AF evaluation value monitoring process>
FIG. 7 is a flowchart for explaining an example of the AF evaluation value monitoring process shown in FIG. As described above, the AF evaluation value monitoring process is a process for detecting whether or not the current AF evaluation value has changed with respect to the previously stored AF evaluation value.
AF評価値監視処理を開始すると、システム制御部115はAF処理部105からAF評価値(これは最新のAF評価値である)を取得する(ステップS500)。次に、システム制御部115は図4に示すステップS209で記憶したAF評価値と最新のAF評価値とを比較して、その差分である変動量(変動値)が予め定められた変動閾値よりも大きいか否かを判定する(ステップS501)。
When the AF evaluation value monitoring process is started, the
変動量が変動閾値よりも大きいと(ステップS501において、YES)、つまり、AF評価値が大きく変動していると、システム制御部115は微小駆動動作に遷移する(ステップS502)。そして、システム制御部115は焦点調整処理に戻る。
If the fluctuation amount is larger than the fluctuation threshold (YES in step S501), that is, if the AF evaluation value fluctuates greatly, the
変動量が変動閾値以下であると(ステップS501において、NO)、システム制御部115はAF評価値監視処理を継続すると判定して、AF評価値監視処理を続行する(ステップS503)。そして、システム制御部115は焦点調整処理に戻る。
If the fluctuation amount is equal to or less than the fluctuation threshold (NO in step S501), the
上述の説明から容易に理解できるように、図4に示すステップS209〜ステップS212の処理において、AF評価値の変動が小さく安定している場合にはAF評価値監視処理が周期的に継続して行われることになる。 As can be easily understood from the above description, in the processing of step S209 to step S212 shown in FIG. 4, when the fluctuation of the AF evaluation value is small and stable, the AF evaluation value monitoring processing is periodically continued. Will be done.
<被写体指定処理>
図8は、図4に示す被写体指定処理の一例を説明するためのフローチャートである。
<Subject designation processing>
FIG. 8 is a flowchart for explaining an example of the subject designation process shown in FIG.
前述のように、被写体指定処理では、ユーザの操作によって被写体が指定された際に焦点調整動作(焦点調整処理)によって合焦させる被写体を設定する。そして、さらに測距ゲート122(図2)で抽出する画像データの領域(AF枠の領域)を設定する。そして、焦点調整動作における状態遷移を変更する。 As described above, in the subject designation process, a subject to be focused is set by the focus adjustment operation (focus adjustment process) when the subject is designated by the user's operation. Further, an image data area (an AF frame area) to be extracted by the distance measuring gate 122 (FIG. 2) is set. Then, the state transition in the focus adjustment operation is changed.
被写体指定処理を開始すると、システム制御部115は操作表示部117に備えられたタッチパネルによってユーザが画面上の被写体を指定したか否かを判定する(ステップS600)。ユーザ操作によって被写体が指定されると(ステップS600において、YES)、システム制御部115は焦点調整動作における遷移すべき状態を微少駆動動作に設定する(ステップS601)。
When the subject designation processing is started, the
続いて、システム制御部115は、AF枠自動モード(第2の焦点調整モード)であるか又はAF枠指定モード(第1の焦点調整モード)であるかを判定する(ステップS602)。AF枠自動モード(第2の焦点調整モード)では、AF枠設定モードがAF枠の位置を画像データから検出した被写体(検出被写体)の位置に自動的に設定する。また、AF枠指定モード(第1の焦点調整モード)では、AF枠の位置をユーザが指定した位置に設定する。
Subsequently, the
AF枠設定モードがAF枠指定モードであると(ステップS602において、YES)、システム制御部115は、ユーザが指定した位置にAF枠を設定し(ステップS603)、AF固定フラグをTRUEに設定する(ステップS604)。そして、システム制御部115は焦点調整処理に戻る。
If the AF frame setting mode is the AF frame designation mode (YES in step S602),
なお、システム制御部115はAF枠指定モードおよびAF枠自動モードを選択的に行う。
The
一方、AF枠モードがAF枠自動モードであると(ステップS602において、NO)、システム制御部115は焦点調整動作で合焦させる被写体をユーザが指定した被写体に設定する(ステップS605)。その後、システム制御部115はAF固定フラグをFALSEに設定して(ステップS606)、焦点調整処理に戻る。
On the other hand, when the AF frame mode is the AF frame automatic mode (NO in step S602), the
なお、AF固定フラグはDRAM113に保存される。また、ユーザ操作によって被写体が指定されないと(ステップS600において、NO)、システム制御部115は焦点調整処理(焦点調整動作)に戻る。
Note that the AF fixed flag is stored in the
このようにして、ユーザ操作によって被写体が指定されると、焦点調整動作で合焦させる被写体又はAF枠の位置を設定するとともに、焦点調整動作を微少駆動動作に遷移させる。そして、システム制御部115は指定された被写体又はAF枠の位置に対して焦点調整動作をやり直すことになる。
In this way, when a subject is specified by a user operation, the position of the subject or AF frame to be focused by the focus adjustment operation is set, and the focus adjustment operation is shifted to a minute drive operation. Then, the
<焦点調整動作状態遷移>
図9は、図1に示すカメラで行われる焦点調整動作における状態遷移の一例を説明するための遷移図である。
<Focus adjustment operation state transition>
FIG. 9 is a transition diagram for explaining an example of state transition in the focus adjustment operation performed by the camera shown in FIG.
いま、動画モードでカメラが起動されると、焦点調整動作における動作状態が微少駆動動作状態に遷移し、前述の微少駆動動作が行われる。微少駆動動作状態においては図4に示すステップS200〜S203の一連の処理が繰り返して行われる。 Now, when the camera is activated in the moving image mode, the operation state in the focus adjustment operation transitions to the minute drive operation state, and the aforementioned minute drive operation is performed. In the minute drive operation state, a series of processes in steps S200 to S203 shown in FIG. 4 are repeated.
当該処理中に山登り動作状態に遷移する遷移条件が成立すると、焦点調整動作における動作状態は山登り動作状態に遷移する。また、図4に示すステップS200〜S203の一連の処理中にAF評価値監視状態に遷移する遷移条件が成立すると、焦点調整動作における動作状態はAF評価値監視状態に遷移する。 If the transition condition for transitioning to the hill-climbing operation state is satisfied during the processing, the operation state in the focus adjustment operation transitions to the hill-climbing operation state. In addition, when a transition condition for transitioning to the AF evaluation value monitoring state is satisfied during the series of processing in steps S200 to S203 illustrated in FIG. 4, the operation state in the focus adjustment operation transitions to the AF evaluation value monitoring state.
山登り動作状態においては、図4に示すステップS204〜S207の一連の処理が繰り返して行われる。当該処理中に微少駆動動作状態に遷移する遷移条件が成立すると、焦点調整動作における動作状態は微少駆動動作状態に遷移する。 In the hill-climbing operation state, a series of processes in steps S204 to S207 shown in FIG. 4 are repeated. When the transition condition for transitioning to the minute driving operation state is satisfied during the processing, the operation state in the focus adjustment operation transitions to the minute driving operation state.
また、図4に示すステップS204〜S207の一連の処理中にAF評価値監視処理状態に遷移する遷移条件が成立すると、焦点調整動作における動作状態はAF評価値監視処理状態に遷移する。 In addition, when a transition condition for transitioning to the AF evaluation value monitoring processing state is satisfied during the series of steps S204 to S207 illustrated in FIG. 4, the operation state in the focus adjustment operation transitions to the AF evaluation value monitoring processing state.
AF評価値監視処理状態においては、図4に示すステップS210〜S212の一連の処理が繰り返して行われる。当該処理中に微少駆動動作状態に遷移する遷移条件が成立すると、焦点調整動作における動作状態は微少駆動動作状態に遷移する。 In the AF evaluation value monitoring process state, a series of processes in steps S210 to S212 shown in FIG. 4 are repeated. When the transition condition for transitioning to the minute driving operation state is satisfied during the processing, the operation state in the focus adjustment operation transitions to the minute driving operation state.
このようにして、焦点調整動作においては、その動作状態が遷移条件に応じて微小駆動動作状態、山登り動作状態、又はAF評価値監視状態に継続的に遷移しつつ、様々なシーンの変化に応じて合焦状態を維持する。 In this way, in the focus adjustment operation, the operation state continuously changes to the minute drive operation state, the hill-climbing operation state, or the AF evaluation value monitoring state according to the transition condition, and responds to changes in various scenes. To maintain the in-focus state.
ここで、焦点調整動作の際に操作表示部117に備えられたタッチパネルをユーザが操作して被写体が指定されると、図8に示すステップS601〜S606の一連の処理が行われる。当該処理によって焦点調整動作における動作状態は微少駆動動作状態に遷移し、ユーザによって指定された被写体に対して焦点調整動作がやり直される。また、AF枠設定モードがAF枠指定モードであると、AF固定フラグがTRUEに設定される。
Here, when the user designates a subject by operating the touch panel provided in the
そして、微少駆動動作状態から始まる焦点調整動作の一連の状態遷移を経て焦点調整動作がやり直された後、AF評価値監視処理状態に遷移する。この際、AF固定フラグがTRUEに設定されていると、焦点調整動作は停止されてAF固定状態となる。 Then, after the focus adjustment operation is performed again through a series of state transitions of the focus adjustment operation starting from the minute drive operation state, the state shifts to the AF evaluation value monitoring processing state. At this time, if the AF fixed flag is set to TRUE, the focus adjustment operation is stopped and the AF fixed state is set.
図4に示すフローチャートにおいては、ステップS202又はステップS207においてAF評価値監視処理状態に遷移する場合、ステップS208においてDRAM113に保存されたAF固定フラグの状態が判定される。
In the flowchart shown in FIG. 4, when transitioning to the AF evaluation value monitoring processing state in step S202 or step S207, the state of the AF fixed flag stored in the
AF固定フラグがTRUEであると、ステップS213においてAF固定フラグがFALSEに設定された後、ステップS214においてAFが固定(焦点調整動作を停止)されて焦点調整動作が終了する。 If the AF fixed flag is TRUE, after the AF fixed flag is set to FALSE in step S213, AF is fixed (stops the focus adjustment operation) in step S214, and the focus adjustment operation ends.
以上のように、微少駆動動作、山登り動作、又はAF評価値監視処理を継続的に実施中にユーザから被写体を指示されると、再度一連の焦点調整動作が行われて指定された被写体に対して焦点を調整した後にAFが固定される。 As described above, when the subject is instructed by the user while performing the minute driving operation, the hill climbing operation, or the AF evaluation value monitoring process continuously, a series of focus adjustment operations are performed again on the designated subject. After the focus is adjusted, AF is fixed.
なお、AF固定状態で被写体が指定された場合には、図9に示すように焦点調整動作における動作状態が微少駆動状態に遷移して焦点調整動作が再開されることになる。 When the subject is specified in the AF fixed state, the operation state in the focus adjustment operation is changed to the minute drive state as shown in FIG. 9, and the focus adjustment operation is resumed.
このように、本発明の第1の実施形態では、焦点調整動作(焦点調整処理)中にユーザの操作によって被写体が指示されると、再度一連の焦点調整動作が行われて指定された被写体に対して焦点が調整された後にAFが固定される。 As described above, in the first embodiment of the present invention, when a subject is instructed by a user operation during the focus adjustment operation (focus adjustment processing), a series of focus adjustment operations are performed again to the designated subject. On the other hand, AF is fixed after the focus is adjusted.
これによって、カメラのブレなどが画像に影響を与えるような状況下でAF評価値が期待した変化傾向を示さない場合であっても、操作性を損なうことなくユーザが意図した被写体にピントを合わせることができる。 As a result, even if the AF evaluation value does not show the expected change tendency under the situation where camera shake or the like affects the image, the subject intended by the user is focused without impairing the operability. be able to.
[第2の実施形態]
続いて、本発明の第2の実施形態による焦点調整装置を備えるカメラについて説明する。なお、第2の実施形態に係るカメラの構成は図1および図2に示すカメラと同様である。
[Second Embodiment]
Subsequently, a camera provided with a focus adjustment apparatus according to a second embodiment of the present invention will be described. The configuration of the camera according to the second embodiment is the same as that of the camera shown in FIGS.
図10は、本発明の第2の実施形態に係るカメラで行われる焦点調整動作における状態遷移の一例を説明するための遷移図である。 FIG. 10 is a transition diagram for explaining an example of state transition in the focus adjustment operation performed by the camera according to the second embodiment of the present invention.
ここでは、動画記録中(つまり、動画データ記録中)および待機中における微少駆動動作および山登り駆動動作において、カメラのブレなどの影響によって所定の時間が経過しても合焦しない場合の焦点調整動作における状態遷移を説明する。それ以外の状態遷移については第1の実施形態と同様であるので説明を省略する。 Here, the focus adjustment operation when the camera is not focused even if a predetermined time elapses due to the effects of camera shake, etc. during the recording of moving images (that is, during recording of moving image data) and during the standby operation The state transition in will be described. Since other state transitions are the same as those in the first embodiment, description thereof will be omitted.
図10において、微少駆動動作状態又は山登り動作状態において所定の時間が経過しても合焦しない場合には、システム制御部115はタイムアウトとして焦点調整動作を停止しAF固定状態とする。
In FIG. 10, in the minute drive operation state or the hill-climbing operation state, when the in-focus state is not achieved even after a predetermined time has elapsed, the
これによって、カメラのブレなどの影響によって所定の時間が経過しても合焦しない場合には、その時点におけるピント位置にAFが固定されて、焦点調整動作が迷走することを防止することができる。 As a result, when the in-focus state is not achieved even after a predetermined time due to camera shake or the like, the AF is fixed at the focus position at that time, and the focus adjustment operation can be prevented from straying. .
上述の被写体指定処理において、合焦度(AF評価値の信頼性)の度合いに応じてAF固定フラグを設定するようにしてもよい。例えば、合焦度が所定値よりも高い場合にはAF固定フラグをTRUEに設定する。一方、合焦度が所定値以下の場合にはAF固定フラグをFALSEに設定する。 In the subject specifying process described above, the AF fixed flag may be set according to the degree of focus (the reliability of the AF evaluation value). For example, when the degree of focus is higher than a predetermined value, the AF fixed flag is set to TRUE. On the other hand, if the degree of focus is less than or equal to a predetermined value, the AF fixed flag is set to FALSE.
これによって、AF評価値の信頼性が低い場合には、ユーザによって被写体が指示されて再度一連の焦点調整動作を行い、指定された被写体に対して焦点を調整した後にAFが固定されることなく焦点調整動作が継続して行われることになる。 Thus, when the reliability of the AF evaluation value is low, the subject is instructed by the user, a series of focus adjustment operations are performed again, and the AF is not fixed after the focus is adjusted with respect to the designated subject. The focus adjustment operation is continuously performed.
この結果、AF評価値が期待した変化傾向を示さない場合であっても、ユーザが意図した被写体にピントを合わせることが可能となる。 As a result, even if the AF evaluation value does not show the expected change tendency, it is possible to focus on the subject intended by the user.
さらに、被写体指定処理において、絞りの絞り込み量に応じてAF固定フラグを設定するようにしてもよい。例えば、絞り込み量が大きく被写界深度が深いことによって焦点調整の精度が比較的要求されない場合には、AF固定フラグをTRUEに設定する。一方、絞り込み量が小さく被写界深度が浅いことによって焦点調整の精度が要求される場合にはAF固定フラグをFALSEに設定する。 Further, in the subject specifying process, the AF fixed flag may be set according to the aperture amount. For example, if the focus adjustment accuracy is relatively not required due to the large aperture amount and the deep depth of field, the AF fixed flag is set to TRUE. On the other hand, the AF fixed flag is set to FALSE when the focus adjustment accuracy is required due to the small amount of aperture and the shallow depth of field.
これによって、焦点調整の精度が要求される場合には、ユーザが被写体を指示して再度一連の焦点調整動作を行い、指定された被写体に対して焦点が調整された後AFが固定されることなく焦点調整動作が継続して行われる。 As a result, when focus adjustment accuracy is required, the user designates the subject, performs a series of focus adjustment operations again, and after the focus is adjusted for the designated subject, AF is fixed. The focus adjustment operation is continuously performed.
この結果、絞り込み量が小さく被写界深度が浅いことによって焦点調整の精度が要求される場合であっても、ユーザが意図した被写体にピントを合わせることが可能となる。 As a result, it is possible to focus on the subject intended by the user even when the focus adjustment accuracy is required due to the small aperture amount and the shallow depth of field.
加えて、被写体指定処理において、システム制御部115は画像データに応じて被写体が動体か否かを判定してAF固定フラグを設定するようにしてもよい。例えば、被写体が動体でない場合にはAF固定フラグをTRUEに設定し、被写体が動体である場合にはAF固定フラグをFALSEに設定する。
In addition, in the subject designation process, the
これによって、被写体が動体である場合に、ユーザが被写体を指示して再度一連の焦点調整動作を行い指定された被写体に対して焦点が調整された後AFが固定されることなく焦点調整動作が継続して行われる。 As a result, when the subject is a moving object, after the user designates the subject and performs a series of focus adjustment operations again to adjust the focus on the designated subject, the focus adjustment operation is performed without fixing the AF. Continued.
この結果、動いている被写体(動体)が指定された場合であっても、ユーザが意図した被写体にピントを合わせることが可能となる。 As a result, even when a moving subject (moving body) is designated, it is possible to focus on the subject intended by the user.
また、被写体指定処理において、加速度センサなどを用いてカメラが三脚などに固定されているか否かを判定してAF固定フラグを設定するようにしてもよい。例えば、カメラが三脚に固定されている場合にはAF固定フラグをTRUEに設定し、カメラが三脚等に固定されていない場合にはAF固定フラグをFALSEにする。 In the subject designation process, an AF sensor may be used to determine whether the camera is fixed to a tripod or the like using an acceleration sensor or the like and set the AF fixing flag. For example, when the camera is fixed to a tripod, the AF fixing flag is set to TRUE, and when the camera is not fixed to a tripod or the like, the AF fixing flag is set to FALSE.
これによって、カメラのブレなどによってAF評価値が期待した変化傾向を示さない場合に、ユーザが被写体を指示して再度一連の焦点調整動作を行い指定された被写体に対して焦点が調整された後AFが継続して行われる。 As a result, when the AF evaluation value does not show the expected change tendency due to camera shake or the like, after the user designates the subject and performs a series of focus adjustment operations again, the focus is adjusted with respect to the designated subject. AF is continuously performed.
この結果、AF評価値が期待した変化傾向を示さない場合であっても、ユーザが意図した被写体にピントを合わせることが可能となる。 As a result, even if the AF evaluation value does not show the expected change tendency, it is possible to focus on the subject intended by the user.
なお、AFを固定する場合には絞りを所定量絞り込むようにすれば、被写界深度を深く設定してAFを固定した後のピント変動をある程度許容することができる。 When the AF is fixed, if the aperture is reduced by a predetermined amount, the focus fluctuation after the AF is fixed by setting the depth of field deep can be allowed to some extent.
このようにして、本発明の実施の形態では、ブレなどによって映像に影響が生じる状況下において操作性を損なうことなくユーザが意図した被写体にピントを合わせることができる。 In this manner, in the embodiment of the present invention, it is possible to focus on the subject intended by the user without impairing operability in a situation where the image is affected by blurring or the like.
上述の説明から明らかなように、図1に示す例においては、システム制御部115が制御手段として機能し、AF処理部105が焦点評価値算出手段として機能する。また、システム制御部115およびフォーカスレンズ制御部104が第1の焦点調整手段および第2の焦点調整手段として機能する。
As is apparent from the above description, in the example shown in FIG. 1, the
さらに、システム制御部115は動体判定手段として機能し、加速度センサおよびシステム制御部115は固定判定手段として機能する。そして、撮影レンズ、ズームレンズ、絞り・シャッタ、フォーカスレンズは撮像光学系を構成し、撮像素子108および撮像処理部は撮像手段として機能する。
Furthermore, the
なお、図1に示す例では、少なくともフォーカスレンズ制御部104、AF処理部105、システム制御部115、および操作表示部117が焦点調整装置を構成する。
In the example shown in FIG. 1, at least the focus
以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 As mentioned above, although this invention was demonstrated based on embodiment, this invention is not limited to these embodiment, Various forms of the range which does not deviate from the summary of this invention are also contained in this invention. .
例えば、上記の実施の形態の機能を制御方法として、この制御方法を焦点調整装置に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを制御プログラムとして、当該制御プログラムを焦点調整装置が備えるコンピュータに実行させるようにしてもよい。なお、制御プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。 For example, the function of the above-described embodiment may be used as a control method, and this control method may be executed by the focus adjustment apparatus. Further, a program having the functions of the above-described embodiments may be used as a control program, and the control program may be executed by a computer included in the focus adjustment apparatus. The control program is recorded on a computer-readable recording medium, for example.
上記の制御方法および制御プログラムの各々は、少なくとも第1の制御ステップおよび第2の制御ステップを有している。 Each of the above control method and control program has at least a first control step and a second control step.
また、本発明は、以下の処理を実行することによっても実現される。つまり上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種の記録媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPUなど)がプログラムを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various recording media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
100 撮影レンズ
102 絞り・シャッタ制御部
104 フォーカスレンズ制御部
105 AF処理部
108 撮像素子
109 撮像処理部
110 画像処理部
112 フォーマット変換部
115 システム制御部
117 操作表示部
DESCRIPTION OF
Claims (13)
前記画像データに応じた画像において指定された被写体に焦点を合わせる第1の焦点調整モードおよび前記画像データにおいて被写体を検出被写体として検出して当該検出被写体に焦点を合わせる第2の焦点調整モードを選択的に行う制御手段を有し、
前記制御手段は、前記第1の焦点調整モードの際、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズの焦点位置を固定し、前記第2の焦点調整モードを実行している際に、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする焦点調整装置。 A focus adjustment device that performs focus adjustment by moving the focus lens along the optical axis of the imaging optical system in accordance with image data obtained according to an optical image incident through an imaging optical system including a focus lens. There,
A first focus adjustment mode for focusing on a subject specified in an image corresponding to the image data and a second focus adjustment mode for detecting the subject as a detection subject in the image data and focusing on the detection subject are selected. Control means to perform automatically
In the first focus adjustment mode, when the subject is designated in the image, the control means focuses the designated subject and then fixes the focus position of the focus lens, and the second focus adjustment mode. A focus adjustment apparatus, wherein when a subject is specified in the image while performing a focus adjustment mode, the focus adjustment by the focus lens is continued after focusing on the specified subject.
断続的に前記フォーカスレンズを前記光軸に沿って移動して得られた前記焦点評価値の変化に応じて焦点位置を特定する第1の焦点調整手段と、
連続的に前記フォーカスレンズを移動して得られた前記焦点評価値の変化に応じて焦点位置を特定する第2の焦点調整手段とを有し、
前記制御手段は、前記焦点評価値に基づいて前記第1の焦点調整手段および前記第2の焦点調整手段のいずれか一方を選択して焦点調整を行うことを特徴とする請求項1に記載の焦点調整装置。 A focus evaluation value calculating means for obtaining a focus evaluation value indicating the contrast of the image data according to the image data;
First focus adjustment means for specifying a focus position according to a change in the focus evaluation value obtained by intermittently moving the focus lens along the optical axis;
Second focus adjustment means for specifying a focus position according to a change in the focus evaluation value obtained by continuously moving the focus lens;
2. The control unit according to claim 1, wherein the control unit performs focus adjustment by selecting one of the first focus adjustment unit and the second focus adjustment unit based on the focus evaluation value. Focus adjustment device.
前記制御手段は、前記第1の焦点調整モードを行う際、前記絞りの絞り込み量に応じて前記指定された被写体に焦点を合わせた後、前記フォーカスレンズの焦点位置を固定するか否かを決定することを特徴とする請求項1〜6のいずれか1項に記載の焦点調整装置。 The imaging optical system is provided with a diaphragm,
The control means determines whether or not to fix the focus position of the focus lens after focusing on the designated subject in accordance with the aperture amount of the aperture when performing the first focus adjustment mode. The focus adjusting apparatus according to claim 1, wherein
前記制御手段は、前記フォーカスレンズの焦点位置を固定した後に絞りを所定量絞り込むことを特徴とする請求項1〜6のいずれか1項に記載の焦点調整装置。 The imaging optical system is provided with a diaphragm,
The focus adjustment apparatus according to claim 1, wherein the control unit narrows the aperture by a predetermined amount after fixing the focus position of the focus lens.
前記動体判定手段によって前記指定された被写体が動体であると判定されると、前記制御手段は、前記第1の焦点調整モードを行う際、前記指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする請求項1〜8のいずれか1項に記載の焦点調整装置。 Moving object determining means for determining whether or not the designated subject is a moving object according to the image data;
When the moving object determining means determines that the designated subject is a moving object, the control means focuses the designated object after performing the first focus adjustment mode, and then performs the focus. The focus adjustment apparatus according to claim 1, wherein the focus adjustment by the lens is continued.
前記撮像光学系を介して入射した光学像に応じた画像データを得る撮像手段と、
請求項1〜9のいずれか1項に記載の焦点調整装置と、
を有することを特徴とする撮像装置。 An imaging optical system including a focus lens;
Imaging means for obtaining image data according to an optical image incident through the imaging optical system;
The focus adjustment apparatus according to any one of claims 1 to 9,
An imaging device comprising:
前記固定判定手段によって前記撮像装置が固定されていないと判定されると、前記制御手段は、前記第1の焦点調整モードを行う際、前記指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする請求項10に記載の撮像装置。 Having a fixing determination means for determining whether or not the imaging device is fixed;
If it is determined by the fixing determination means that the imaging device is not fixed, the control means focuses the designated subject and then the focus lens when performing the first focus adjustment mode. The imaging apparatus according to claim 10, wherein the focus adjustment is continued.
前記画像データに応じた画像において指定された被写体に焦点を合わせる第1の焦点調整モードを行う第1の制御ステップと、
前記画像データにおいて被写体を検出被写体として検出して当該検出被写体に焦点を合わせる第2の焦点調整モードを行う第2の制御手段とを有し、
前記第1の制御ステップでは、前記第1の焦点調整モードの際、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズの焦点位置を固定し、前記第2の制御ステップでは、第2の焦点調整モードを実行している際に、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする制御方法。 A focus adjustment device that performs focus adjustment by moving the focus lens along the optical axis of the imaging optical system in accordance with image data obtained according to an optical image incident through an imaging optical system including a focus lens. A control method,
A first control step of performing a first focus adjustment mode for focusing on a subject specified in an image according to the image data;
Second control means for detecting a subject as a detection subject in the image data and performing a second focus adjustment mode for focusing on the detection subject;
In the first control step, in the first focus adjustment mode, when a subject is specified in the image, the focus position of the focus lens is fixed after focusing on the specified subject. In the second control step, when the subject is specified in the image while the second focus adjustment mode is being executed, the focus adjustment by the focus lens is continued after focusing on the specified subject. A control method characterized by:
前記焦点調整装置が備えるコンピュータに、
前記画像データに応じた画像において指定された被写体に焦点を合わせる第1の焦点調整モードを行う第1の制御ステップと、
前記画像データにおいて被写体を検出被写体として検出して当該検出被写体に焦点を合わせる第2の焦点調整モードを行う第2の制御手段とを実行させ、
前記第1の制御ステップでは、前記第1の焦点調整モードの際、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズの焦点位置を固定し、前記第2の制御ステップでは、第2の焦点調整モードを実行している際に、前記画像において被写体が指定されると当該指定された被写体に焦点を合わせた後、前記フォーカスレンズによる焦点調整を継続することを特徴とする制御プログラム。 A focus adjustment device that performs focus adjustment by moving the focus lens along the optical axis of the imaging optical system in accordance with image data obtained according to an optical image incident through an imaging optical system including a focus lens. A control program used,
A computer provided in the focus adjustment device,
A first control step of performing a first focus adjustment mode for focusing on a subject specified in an image according to the image data;
Executing a second focus adjustment mode for detecting a subject as a detection subject in the image data and focusing on the detection subject;
In the first control step, in the first focus adjustment mode, when a subject is specified in the image, the focus position of the focus lens is fixed after focusing on the specified subject. In the second control step, when the subject is specified in the image while the second focus adjustment mode is being executed, the focus adjustment by the focus lens is continued after focusing on the specified subject. A control program characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013171248A JP6164978B2 (en) | 2013-08-21 | 2013-08-21 | FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013171248A JP6164978B2 (en) | 2013-08-21 | 2013-08-21 | FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015040940A JP2015040940A (en) | 2015-03-02 |
JP6164978B2 true JP6164978B2 (en) | 2017-07-19 |
Family
ID=52695145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013171248A Active JP6164978B2 (en) | 2013-08-21 | 2013-08-21 | FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6164978B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7252680B2 (en) | 2009-07-13 | 2023-04-05 | アイリスオーヤマ株式会社 | LED lighting device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6028876B1 (en) | 2016-02-02 | 2016-11-24 | ソニー株式会社 | Lens unit, imaging device, and control method |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01287612A (en) * | 1988-05-16 | 1989-11-20 | Minolta Camera Co Ltd | Automatic focus adjusting device |
JP3263061B2 (en) * | 1989-08-15 | 2002-03-04 | オリンパス光学工業株式会社 | Focus adjustment device |
JPH04285926A (en) * | 1991-03-14 | 1992-10-12 | Minolta Camera Co Ltd | Camera |
JPH06148510A (en) * | 1992-10-30 | 1994-05-27 | Canon Inc | Camera with line-of-sight detector |
JPH10173980A (en) * | 1996-12-11 | 1998-06-26 | Sony Corp | Automatic focus device |
JP3732665B2 (en) * | 1998-12-22 | 2006-01-05 | 株式会社リコー | Automatic focus control device and focusing operation determination method thereof |
JP2000330156A (en) * | 1999-05-19 | 2000-11-30 | Canon Inc | Optical apparatus with image blurring correction function |
JP3962658B2 (en) * | 2002-08-26 | 2007-08-22 | キヤノン株式会社 | Camera, lens apparatus and camera system |
JP3867687B2 (en) * | 2003-07-08 | 2007-01-10 | コニカミノルタフォトイメージング株式会社 | Imaging device |
EP2560370A3 (en) * | 2005-12-06 | 2013-07-03 | Panasonic Corporation | Digital camera |
JP2009147853A (en) * | 2007-12-18 | 2009-07-02 | Fujifilm Corp | Photographing device and photographing method |
JP5473551B2 (en) * | 2009-11-17 | 2014-04-16 | 富士フイルム株式会社 | Auto focus system |
JP5474528B2 (en) * | 2009-12-25 | 2014-04-16 | 富士フイルム株式会社 | Auto focus system |
JP5306266B2 (en) * | 2010-03-15 | 2013-10-02 | キヤノン株式会社 | Imaging apparatus and control method thereof |
JP5375846B2 (en) * | 2011-02-04 | 2013-12-25 | カシオ計算機株式会社 | Imaging apparatus, automatic focus adjustment method, and program |
JP5839857B2 (en) * | 2011-06-29 | 2016-01-06 | オリンパス株式会社 | Imaging apparatus, imaging method, and imaging program |
JP6083987B2 (en) * | 2011-10-12 | 2017-02-22 | キヤノン株式会社 | Imaging apparatus, control method thereof, and program |
JP5830373B2 (en) * | 2011-12-22 | 2015-12-09 | オリンパス株式会社 | Imaging device |
JP5486662B2 (en) * | 2012-11-12 | 2014-05-07 | パナソニック株式会社 | Imaging device and camera body |
-
2013
- 2013-08-21 JP JP2013171248A patent/JP6164978B2/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7252680B2 (en) | 2009-07-13 | 2023-04-05 | アイリスオーヤマ株式会社 | LED lighting device |
Also Published As
Publication number | Publication date |
---|---|
JP2015040940A (en) | 2015-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6204644B2 (en) | Imaging apparatus and control method thereof | |
JP2008170508A (en) | Imaging apparatus | |
JP2008009341A (en) | Autofocus device and method, and imaging apparatus | |
US8502912B2 (en) | Focusing apparatus and method for controlling the same | |
EP2007135B1 (en) | Imaging apparatus | |
JP6151867B2 (en) | Imaging device, imaging device body, and lens barrel | |
JP6154081B2 (en) | Imaging device, imaging device body, and lens barrel | |
JP2010139666A (en) | Imaging device | |
US11012627B2 (en) | Image capturing apparatus and control method thereof | |
JP2009027212A (en) | Imaging apparatus | |
US10057478B2 (en) | Focus detecting apparatus and method of controlling the same | |
JP2017129613A (en) | Focus adjustment device and focus adjustment method | |
US9036075B2 (en) | Image pickup apparatus, method for controlling the same, and storage medium | |
JP2007133301A (en) | Autofocus camera | |
JP6087714B2 (en) | Imaging apparatus and control method thereof | |
JP6234016B2 (en) | Focus adjustment device, imaging device, and control method thereof | |
JP6164978B2 (en) | FOCUS ADJUSTMENT DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE | |
JP6057608B2 (en) | Focus adjustment apparatus and control method thereof | |
KR101777353B1 (en) | Digital photographing apparatus and control method thereof | |
JP6087536B2 (en) | Imaging apparatus and control method thereof | |
JP6425440B2 (en) | Imaging apparatus and imaging method | |
JP2008051871A (en) | Automatic focusing device | |
JP2015079158A (en) | Image capturing device and control method therefor | |
JP5322842B2 (en) | Automatic focusing device, automatic focusing method and program | |
JP5943759B2 (en) | FOCUS ADJUSTMENT DEVICE, FOCUS ADJUSTMENT DEVICE CONTROL METHOD, PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160808 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170428 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170523 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170620 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6164978 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |