JP2013130683A - Imaging device, control method of the same and program - Google Patents
Imaging device, control method of the same and program Download PDFInfo
- Publication number
- JP2013130683A JP2013130683A JP2011279690A JP2011279690A JP2013130683A JP 2013130683 A JP2013130683 A JP 2013130683A JP 2011279690 A JP2011279690 A JP 2011279690A JP 2011279690 A JP2011279690 A JP 2011279690A JP 2013130683 A JP2013130683 A JP 2013130683A
- Authority
- JP
- Japan
- Prior art keywords
- focus
- evaluation value
- value
- control unit
- subject
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、撮像装置、撮像装置の制御方法、プログラムに関する。詳しくは、本発明は、電子スチルカメラやビデオカメラ等などの撮像装置と、この撮像装置の制御方法と、この撮像装置を制御するプログラムとに関する。 The present invention relates to an imaging device, an imaging device control method, and a program. Specifically, the present invention relates to an imaging apparatus such as an electronic still camera or a video camera, a control method for the imaging apparatus, and a program for controlling the imaging apparatus.
従来、電子スチルカメラやビデオカメラなどにおいて、フォーカスレンズ位置を動かして被写体に焦点を合わせる合焦方法として、CCDなどの撮像素子から得られる画像信号を用いて自動的に合焦動作を行うオートフォーカス(AF)方式が用いられている。このAF方式において、AFスキャン動作中に被写体ピーク位置から離れているところにおいて、焦点評価値の形状より被写体ピーク位置を判断し、フォーカス速度を可変させることで高速化する技術がある。
例えば、所定時間内における焦点評価値の変化量とレンズ位置の変化量の比を評価値変化率として算出し、評価値変化率が増加状態にあるか減少状態にあるかに応じてレンズ位置の変更速度を可変するものがある。(特許文献1参照)
また、焦点評価値の増加中の3点からピーク位置を予測し、予測結果のばらつきが所定範囲内で駆動し、その前に増加が0近傍になったらフォーカス停止し、予測したピーク位置が遠い場合は、高速に移動させ、そのあと、低速にして再予測するものがある。(特許文献2参照)
Conventionally, in electronic still cameras and video cameras, as a focusing method that moves the focus lens position and focuses on the subject, autofocus is performed automatically using an image signal obtained from an image sensor such as a CCD. The (AF) method is used. In this AF method, there is a technique of speeding up by determining the subject peak position from the shape of the focus evaluation value and changing the focus speed at a position away from the subject peak position during the AF scan operation.
For example, a ratio between the change amount of the focus evaluation value and the change amount of the lens position within a predetermined time is calculated as an evaluation value change rate, and the lens position is changed depending on whether the evaluation value change rate is in an increasing state or a decreasing state. Some change speed. (See Patent Document 1)
In addition, the peak position is predicted from three points where the focus evaluation value is increasing, and the variation of the prediction result is driven within a predetermined range. When the increase becomes near 0 before that, the focus is stopped, and the predicted peak position is far away. In some cases, the object is moved at a high speed and then re-predicted at a low speed. (See Patent Document 2)
フォーカスレンズを駆動しながら焦点評価値を取得するようなAFスキャン方法を適用した場合には、被写体ピーク位置近傍であることを判断してから速度制御をするまでにタイムラグが生じてしまう。また、被写体のコントラストや周波数、絞りや露出などのカメラ設定が異なっていると、焦点評価値の形状が異なる。これより、焦点評価値の形状に基づいて被写体ピーク位置を判断する場合に、被写体によっては、被写体ピーク位置付近までにAF精度が確保できるサンプリング間隔となる所定の速度まで減速するのが間に合わなくなってしまうという問題がある。
しかし、特許文献1や特許文献2では、焦点評価値の形状を判断してから速度制御するまでのタイムラグについて考慮されていない。また、被写体やカメラの設定に応じて、焦点評価値のピーク形状の判断の仕方を変えることは行っていない。そのため、被写体やカメラの設定によっては、被写体ピーク位置までに速度制御が間に合わなくなり、ピント精度が悪くなってしまう。
When an AF scan method that acquires a focus evaluation value while driving the focus lens is applied, there is a time lag between the determination of being near the subject peak position and the speed control. In addition, when the camera settings such as the contrast, frequency, aperture, and exposure of the subject are different, the shape of the focus evaluation value is different. As a result, when determining the subject peak position based on the shape of the focus evaluation value, depending on the subject, it is not in time to decelerate to a predetermined speed that is a sampling interval that can secure AF accuracy up to the vicinity of the subject peak position. There is a problem of end.
However, Patent Literature 1 and Patent Literature 2 do not consider the time lag from the determination of the shape of the focus evaluation value to the speed control. Also, the method of determining the peak shape of the focus evaluation value is not changed according to the setting of the subject or camera. For this reason, depending on the setting of the subject and the camera, the speed control may not be in time for the subject peak position, resulting in poor focus accuracy.
前記課題を解決するため、本発明は、所定の領域内の被写体のコントラストを示す焦点評価値を求め、前記焦点評価値が最大になるようにフォーカスレンズを駆動する制御部および処理部を備える撮像装置であって、前記制御部は、前記フォーカスレンズを駆動させながら取得した前記焦点評価値の勾配が所定の閾値以上かどうかまたは前記焦点評価値の変化に基づいてフォーカス速度を設定するとともに、前記所定の閾値を、被写体のコントラスト値、被写体の周波数、前記所定の領域のサイズ、絞り状態、フォーカス速度のうち少なくとも一つに基づいて決定することを特徴とする。 In order to solve the above problems, the present invention obtains a focus evaluation value indicating the contrast of a subject within a predetermined area, and includes an imaging unit including a control unit and a processing unit that drive a focus lens so that the focus evaluation value becomes maximum. The apparatus, wherein the control unit sets a focus speed based on whether a gradient of the focus evaluation value acquired while driving the focus lens is equal to or greater than a predetermined threshold or a change in the focus evaluation value, and The predetermined threshold value is determined based on at least one of the contrast value of the subject, the frequency of the subject, the size of the predetermined region, the aperture state, and the focus speed.
本発明は、所定の領域内の被写体のコントラストを示す焦点評価値を求め、前記焦点評価値が最大になるようにフォーカスレンズを駆動する撮像装置の制御方法であって、前記被写体のコントラスト値、前記被写体の周波数、前記所定の領域のサイズ、絞り状態、フォーカス速度のうち少なくとも一つに基づいて、前記フォーカスレンズがピント位置近傍にあるかどうかを示す指標となる所定の閾値を決定するステップと、前記フォーカスレンズを駆動させながら取得した前記焦点評価値の勾配が前記所定の閾値以上であるかまたは前記焦点評価値の勾配の変化に基づいて前記フォーカスレンズがピント位置近傍にあるかどうかを判定するステップと、前記判定の結果に基づいて前記フォーカス速度を設定するステップと、を有することを特徴とする。 The present invention provides a method for controlling an imaging apparatus that obtains a focus evaluation value indicating the contrast of a subject in a predetermined area and drives a focus lens so that the focus evaluation value is maximized, Determining a predetermined threshold value serving as an index indicating whether or not the focus lens is in the vicinity of a focus position based on at least one of the frequency of the subject, the size of the predetermined area, the aperture state, and the focus speed; Determining whether the gradient of the focus evaluation value acquired while driving the focus lens is equal to or greater than the predetermined threshold or whether the focus lens is in the vicinity of the focus position based on a change in the gradient of the focus evaluation value And a step of setting the focus speed based on the result of the determination. To.
本発明は、所定の領域内の被写体のコントラストを示す焦点評価値を求め、前記焦点評価値が最大になるようにフォーカスレンズを駆動する撮像装置のコンピュータに、前記被写体のコントラスト値、前記被写体の周波数、前記所定の領域のサイズ、絞り状態、フォーカス速度のうち少なくとも一つに基づいて、前記フォーカスレンズがピント位置近傍にあるかどうかを示す指標となる所定の閾値を決定するステップと、前記フォーカスレンズを駆動させながら取得した前記焦点評価値の勾配が前記所定の閾値以上であるかまたは前記焦点評価値の勾配の変化に基づいて前記フォーカスレンズがピント位置近傍にあるかどうかを判定するステップと、前記判定の結果に基づいて前記フォーカス速度を設定するステップと、を実行させることを特徴とするプログラムである。 The present invention obtains a focus evaluation value indicating the contrast of a subject in a predetermined area, and sends the contrast value of the subject, the subject's contrast value to a computer of an imaging apparatus that drives a focus lens so that the focus evaluation value is maximized. Determining a predetermined threshold value serving as an index indicating whether the focus lens is in the vicinity of a focus position based on at least one of a frequency, a size of the predetermined area, an aperture state, and a focus speed; and the focus Determining whether the gradient of the focus evaluation value acquired while driving the lens is equal to or greater than the predetermined threshold or whether the focus lens is in the vicinity of the focus position based on a change in the gradient of the focus evaluation value; And setting the focus speed based on the result of the determination. Is a program for the butterflies.
被写体やカメラの設定に応じて、ピント位置近傍でのフォーカスレンズの減速の判断のしかたを変えることで、被写体やカメラの設定によらず、精度よく高速にAFを行うことができる。 By changing how the focus lens is decelerated in the vicinity of the focus position in accordance with the setting of the subject and camera, AF can be performed with high accuracy and high speed regardless of the setting of the subject and camera.
以下、図1〜図8を参照しながら本発明の実施例を説明する。
まず、本発明の実施例が適用される撮像装置の全体的な構成について、図1を参照して説明する。本発明の実施例が適用される撮像装置は、電子カメラ1である。図1は本発明の実施例を適用した電子カメラ1の構成を示すブロック図である。撮影レンズ101は、ズーム機構を含む1以上のレンズ群である。絞りおよびシャッター102は、光量を制御する。AE処理部103はAE処理を行う。フォーカスレンズ104は、被写体からの光を後述する撮像素子107上に焦点をあわせる。モータ105は、フォーカスレンズ104を駆動するための駆動源である。AF処理部106はAF処理を行う。撮像素子107は、被写体からの光を電気信号に変換する受光手段又は光電変換手段が適用される。A/D変換部108は、撮像素子107の出力ノイズを除去するCDS回路や、A/D変換前に行う非線形増幅回路を含む。画像処理部109は、画像処理を行う。フォーマット変換部110は、出力する画像を所定の規格のフォーマットに変換する。DRAM111は、たとえばランダムアクセスメモリなどの高速な内蔵メモリである。DRAM111は、一時的な画像記憶手段としての高速バッファとして、あるいは画像の圧縮伸張における作業用メモリなどとして使用される。画像記録部112は、メモリーカードなどの記録媒体とそのインターフェースからなる。システム制御部113は、撮影シーケンスなどシステムを制御する。システム制御部113は、コンピュータプログラム(ソフトウェア)を格納するメモリ131と、メモリ131に格納されるコンピュータプログラムを読み出して実行するCPU132とを含む。VRAM114は画像表示用メモリである。画像表示部115は、画像表示、操作補助のための表示、カメラ状態の表示を行う。さらに画像表示部115は、撮影時には、撮影画面と測距領域を表示する。操作部116は、電子カメラ1を外部から操作するために用いられる。操作部116は、例えば、電子カメラ1の撮影機能や画像再生時の設定などの各種設定を行うメニュースイッチ、撮影レンズのズーム動作を指示するズームレバー、撮影モードと再生モードの動作モード切換えスイッチなどを含む。撮影モードスイッチ117は、マクロモード、遠景モード、スポーツモードなどの撮影モードを選択するために用いられるスイッチである。撮影モードスイッチ117は、ユーザーが選択した撮影モードに応じて測距距離範囲やAF動作などを変更することができる。メインスイッチ118は、システムに電源を投入するためのスイッチである。スイッチ119(以下、SW1と記すことがある)は、AFやAE等の撮影スタンバイ動作を行うためのスイッチである。スイッチ120(以下、SW2と記すことがある)は、SW1の操作後、撮影を行う撮影スイッチである。加速度センサ部121は、手ぶれやパンなどのよる電子カメラ1の動きを検知する。動体検出部122は、画面内の輝度情報より動体を検出する。
Embodiments of the present invention will be described below with reference to FIGS.
First, an overall configuration of an imaging apparatus to which an embodiment of the present invention is applied will be described with reference to FIG. An imaging apparatus to which an embodiment of the present invention is applied is an electronic camera 1. FIG. 1 is a block diagram showing the configuration of an electronic camera 1 to which an embodiment of the present invention is applied. The photographing
以下、本発明の実施例が適用される電子カメラ1の動作について、図2〜図8を用いて詳細に説明する。以下の処理は、コンピュータプログラム(ソフトウェア)としてシステム制御部113のメモリ131に格納されており、システム制御部113のCPU132が読み出して実行することにより実施される。
Hereinafter, the operation of the electronic camera 1 to which the embodiment of the present invention is applied will be described in detail with reference to FIGS. The following processing is stored in the
まず、電子カメラ1の全体的な動作について、図2を参照して説明する。図2は、電子カメラ1の動作を説明するフローチャートである。
まず、S201では、AE処理部103が、画像処理部109の出力を用いてAE処理を実行する。そしてS202へと進む。
S202では、システム制御部113は、スイッチ119(SW1)の状態が「ON」であるかを調べる。そして、ONであれば(「Yes」であれば)S203へ進み、そうでなければ(「No」であれば)S201へ進む。
S203では、システム制御部113は、後述するAF動作を行う。そしてS204へ進む。なお、AF動作中の露出条件(シャッター速度、絞り、感度)は、直前のS201のAE処理において決定される。
S204では、システム制御部113は、スイッチ119(SW1)の状態がONであるかを調べる。そして、ONであれば(「Yes」であれば)S205へ進み、そうでなければ(「No」であれば)S201へ進む。
S205では、システム制御部113は、スイッチ120(SW2)の状態がONであるかを調べる。そしてONであれば(「Yes」であれば)S206へ進み、そうでなければ(「No」であれば)S204へ進む。
S206では、システム制御部113は、撮影動作を実行する。そしてその後、S201へ進む。
First, the overall operation of the electronic camera 1 will be described with reference to FIG. FIG. 2 is a flowchart for explaining the operation of the electronic camera 1.
First, in step S <b> 201, the
In S202, the
In S203, the
In S204, the
In S205, the
In S206, the
次に、電子カメラ1のS203のAF動作について、図3を参照して説明する。図3は、図2におけるS203のAF動作を説明するフローチャートである。
S301では、システム制御部113は、画面内の所定の領域に測距領域を設定する。そしてS302へ進む。
S302では、システム制御部113は、撮影モードや焦点距離に応じたスキャン範囲を設定する。そして、S303へ進む。
S303では、システム制御部113は、初期フォーカス駆動を実行する。この初期フォーカス駆動では、システム制御部113は、AF処理部106を介してフォーカスレンズ104を駆動し、フォーカスレンズ104をあらかじめ決められたAFスキャンの開始位置へ移動させる。なお、この初期フォーカス駆動の詳細については後述する。そしてS304へ進む。
S304では、システム制御部113は、フォーカス速度を設定する。フォーカス速度は、フォーカスレンズの駆動速度をいうものとする。フォーカス速度の設定方法は後述する。そして、S305へ進む。
S305では、システム制御部113は、S304で設定したフォーカス速度で、所定方向にフォーカス駆動を開始する。なお、システム制御部113は、「所定方向」を、S303の初期フォーカス駆動におけるフォーカスレンズ104の駆動方向と反対方向に設定する。そしてS306へ進む。
S306では、システム制御部113は、S301で設定した測距領域内の焦点評価値を取得する。そしてS307へ進む。
S307では、システム制御部113は、現在のフォーカスレンズ104の位置を取得する。そしてS308へ進む。
S308では、システム制御部113は、フォーカスレンズ位置および焦点評価値の変化に基づいて、焦点評価値の勾配を検出する。具体的な検出方法については後述する。その後、S309へ進む。
S309では、システム制御部113は、焦点評価値の勾配閾値SlopeThrを算出する。焦点評価値の勾配閾値SlopeThrは、フォーカスレンズ104がピント位置の近傍にあるか否かを判定するための指標として用いられる閾値である。焦点評価値の勾配閾値SlopeThrの算出方法については後述する。その後、S310へ進む。
S310では、システム制御部113は、S308で検出した焦点評価値の勾配が、S309で算出した焦点評価値の勾配閾値SlopeThrの値以上で、かつフォーカス速度が「高速」に設定されているかどうかを調べる。なお、このステップで調べるフォーカス速度は、S304または後述するS311で設定される。検出した勾配が算出したSlopeThr以上であり、かつフォーカス速度が高速に設定されている場合には(「Yes」であれば)311へ進み、そうでない場合には(「No」であれば)313へ進む。
S311では、システム制御部113は、フォーカス速度を低速に設定する。そしてS312へ進む。すなわち、システム制御部113は、フォーカスレンズ104の現在位置がピント位置近傍にあると判断できた場合には、フォーカス速度を低速に設定する。その後、S312へ進む。
S312では、システム制御部113は、S311で設定したフォーカス速度でフォーカスレンズ104を駆動する(=フォーカス駆動する)。このように、S310〜S311〜S312の処理によれば、AFスキャン開始時に高速でフォーカス駆動を開始している場合に、ピント位置近傍が判断できた時点でフォーカスレンズの減速制御することができる。そしてS313へ進む。
S313では、システム制御部113は、S307で取得した現在のフォーカスレンズ104の位置が、S302で設定したスキャン範囲内にあるかどうかを調べる。現在のフォーカスレンズ104の位置がスキャン範囲内にあれば(「Yes」であれば)、S306へ進み、そうでなければ(「No」であれば)S314へ進む。
S306〜S313の一連の処理は、現在のフレームレートの1フレーム分の時間で行われる。また、システム制御部113は、S306で取得した焦点評価値とS307で取得したレンズ位置とを対応付け、後述するS315の焦点評価値のピーク位置算出で用いる。なお、システム制御部113は、焦点評価値を取得している間に、AF処理部106を介してフォーカスレンズ104を駆動する。すなわち、焦点評価値に対応するフォーカスレンズ位置には、ある程度の幅がある。そこで、システム制御部113は、露光時間の中心のタイミングでのフォーカスレンズ104の位置を算出し、算出したフォーカスレンズ104の位置と焦点評価値とを対応付ける。
S314では、システム制御部113は、AF処理部106を介してフォーカスレンズ104の駆動を停止する。そしてS315へ進む。
S315では、システム制御部113は、S306で取得した焦点評価値とそれに対応付けられたフォーカスレンズ104の位置(S307で取得)とを用いて、焦点評価値のピーク位置を算出する。そしてS316へ進む。
S316では、システム制御部113は、合焦判定を行う。そして、S317へ進む。
S317では、システム制御部113は、AF処理部を介して、S315で求めた焦点評価値のピーク位置へフォーカスレンズ104を駆動する。そして、AF動作を終了する。
Next, the AF operation in S203 of the electronic camera 1 will be described with reference to FIG. FIG. 3 is a flowchart for explaining the AF operation in S203 in FIG.
In S301, the
In S <b> 302, the
In S303, the
In S304, the
In S305, the
In S306, the
In step S307, the
In S308, the
In step S309, the
In S310, the
In S311, the
In step S312, the
In step S313, the
A series of processing of S306 to S313 is performed in a time corresponding to one frame of the current frame rate. Further, the
In step S <b> 314, the
In S315, the
In S316, the
In S317, the
次に、図4を参照して、図3のS303の初期フォーカス駆動について説明する。図4は、図3のS303の初期フォーカス駆動の処理を説明するフローチャートである。
まず、S401では、システム制御部113は、フォーカス速度を低速に設定する。ここで、初期フォーカス駆動における「低速」には、例えば、後述する焦点評価値の勾配を判断できる最低速が適用される。そしてS402へ進む。
S402では、システム制御部113は、AF処理部106を介して、S401で設定したフォーカス速度で、所定方向にフォーカス駆動を開始する。この「所定方向」は、例えば、被写体の存在確率が高いと考えられる方向や、現在のフォーカスレンズ位置に対して遠端と近端のいずれか近い側への方向などが適用できる。そしてS403へ進む。
S403では、システム制御部113は、S301で設定した測距領域内の焦点評価値を取得する。そしてS404へ進む。
S404では、システム制御部113は、現在のフォーカスレンズ104の位置を取得する。そしてS405へ進む。
S405では、システム制御部113は、ピーク検出チェックを行う。ピーク検出チェックでは、システム制御部113は、焦点評価値のピークが検出されたか否か、検出されない場合には、焦点評価値が増加しているか、減少しているか、変化していないかをチェックする。すなわち、システム制御部113は、焦点評価値の変化をチェックする。ピーク検出チェックの詳細については後述する。そして、S406へ進む。
S406では、システム制御部113は、S405でチェックしたピーク検出結果がOKかどうかを調べる。そして、ピーク検出結果がOKであれば、すなわち、ピークが検出された場合には(「Yes」であれば)S409へ進み、そうでなければ(「No」であれば)S407へ進む。
S407では、システム制御部113は、S405でチェックしたピーク検出結果が減少で、かつ減少回数が減少回数閾値よりも多いかどうかを調べる。ピーク検出結果が減少で、かつ減少回数が減少回数閾値よりも多い場合には(「Yes」であれば)S409へ進み、そうでなければ(「No」であれば)S408へ進む。
S408では、システム制御部113は、現在のフォーカスレンズ104の位置が進行方向の端まで到達したかどうかを調べる。到達した場合には(「Yes」であれば)S409へ進み、そうでなければ(「No」であれば)S403へ進む。
S409では、システム制御部113は、焦点評価値の勾配閾値SlopeThrを算出する。焦点評価値の勾配閾値SlopeThrは、フォーカスレンズ104がピント位置近傍にあるか否かを判定する指標となる。なお、焦点評価値の勾配閾値SlopeThrの算出方法については後述する。その後、ステップS410へ進む。
S410では、システム制御部113は、焦点評価値の勾配がS409で算出した焦点評価値の勾配閾値SlopeThr以上かどうかを調べる。この焦点評価値は、後述するS502の焦点評価値の勾配検出において検出したものである。そして、焦点評価値の勾配が焦点評価値の勾配閾値SlopeThr以上であれば(「Yes」であれば)S411へ進み、そうでなければ(「No」であれば)S412へ進む。
S411では、システム制御部113は、FASTAF判定の結果を「NG」とする。そしてS413へ進む。
S412では、システム制御部113は、FASTAF判定の結果を「OK」とする。そしてS413へ進む。
FASTAF判定の結果は、AFスキャン動作開始タイミングであるS305において、高速にフォーカス駆動を開始するか否かを決定する指標の一つとなる。FASTAF判定は、S411とS412に示すように、焦点評価値の勾配閾値SlopeThrに基づいて実行される。このように、フォーカスレンズ104がピント位置近傍にない場合には、FASTAF判定の結果が「OK」とされ、ピント位置近傍にあれば「NG」とされる。FASTAF判定の結果は、後述するS304のフォーカス速度の設定で用いられる。
S413では、システム制御部113は、AF処理部106を介してフォーカスレンズ104を停止する。そしてS304へ進む。
Next, with reference to FIG. 4, the initial focus drive in S303 of FIG. 3 will be described. FIG. 4 is a flowchart for explaining the initial focus driving process in S303 of FIG.
First, in S401, the
In S402, the
In step S403, the
In step S <b> 404, the
In S405, the
In S406, the
In step S407, the
In step S408, the
In step S409, the
In S410, the
In step S411, the
In step S <b> 412, the
The result of FASTAF determination is one of the indexes for determining whether or not to start focus driving at high speed in S305, which is the AF scan operation start timing. The FASTAF determination is performed based on the gradient threshold value SlopeThr of the focus evaluation value, as shown in S411 and S412. Thus, when the
In step S <b> 413, the
次に、図4におけるS405のピーク検出チェックの処理について、図5を参照して説明する。図5は、図4におけるS405のピーク検出チェックの処理を説明するフローチャートである。
まず、S501では、システム制御部113は、現在までにS403で取得した焦点評価値の最大値と最小値を求め、メモリ131に記憶する。そしてS502へ進む。
S502では、システム制御部113は、焦点評価値の勾配閾値SlopeThrを算出する(算出方法は後述)。その後、ステップS503へ進む。
S503では、システム制御部113は、焦点評価値の勾配検出(検出方法は後述する)を行う。その後、S504へ進む。
S504では、システム制御部113は、今回取得した焦点評価値が、前回取得した焦点評価値に対して所定量以上増加しているかどうかを調べる。所定量以上増加している場合には(「Yes」であれば)S505へ進み、そうでなければ(「No」であれば)S514へ進む。
S505では、システム制御部113は、減少回数をクリアする(=0にする)。そしてS506へ進む。
S506では、システム制御部113は、増加回数(=今回取得した焦点評価値が、前回取得した焦点評価値よりも増加したと判定された回数)をインクリメントする。そしてS507へ進む。
S507では、システム制御部113は、増加回数が加減速判定閾値よりも多いかどうかを調べる。加減速判定閾値は、フォーカス速度を「高速」に設定するか否かを決定する際の指標となる閾値である。ピーク検出チェックでは、できるだけ早い段階で被写体ピント位置の方向を判断したいため、加減速判定閾値は、例えば、被写体ピント位置の方向の判断が可能な最低の回数(例えば2回)で決まる閾値とする。増加回数が加減速判定閾値よりも多い場合には(「Yes」であれば)S508へ進み、そうでなければ(「No」であれば)S511へ進む。
S508では、システム制御部113は、焦点評価値の勾配がS502で算出した焦点評価値の勾配閾値SlopeThr以上かどうかを調べる。焦点評価値の勾配が焦点評価値の勾配閾値SlopeThr以上であれば(「Yes」であれば)S509へ進み、そうでなければ(「No」であれば)S510へ進む。
S509では、システム制御部113は、フォーカス速度を「低速」に設定する。そしてS512へ進む。
S510では、システム制御部113は、フォーカス速度を「高速」に設定する。そしてS512へ進む。
S511では、システム制御部113は、FASTAF判定の結果を「OK」にする。そして、S513へ進む。
S512では、システム制御部113は、FASTAF判定の結果を「NG」にする。そして、S513へ進む。
S513では、システム制御部113は、ピーク検出結果を「増加」とする。そしてS525へ進む。
S514では、システム制御部113は、今回の焦点評価値が、前回の焦点評価値に対して所定値よりも減少しているかどうかを調べる。所定値よりも減少している場合には(「Yes」であれば)S515へ進み、そうでなければ(「No」であれば)S521へ進む。
S515では、システム制御部113は、次の(1)〜(4)の4つの項目について調べる。(1)増加回数が1以上であるか。(2)今回の焦点評価値がS501で記憶している焦点評価値の最大値よりも所定の割合以上減少しているか。(3)S501で記憶している最大値と最小値の差が所定量以上であるか。(4)ピーク位置が今回までに取得している焦点評価値データの端ではないか。そして、(1)〜(4)のすべてを全て充足していれば(「Yes」であれば)S520へ進み、そうでなければ(「No」であれば)S516へ進む。
S516では、システム制御部113は、増加回数をクリアして0にする。そしてS517へ進む。
S517では、システム制御部113は、減少回数をインクリメントする。そしてS518へ進む。
S518では、システム制御部113は、FASTAF判定をOKにする。そしてS519へ進む。
S519では、システム制御部113は、ピーク検出結果を「減少」とする。そしてS525へ進む。
S520では、システム制御部113は、ピーク検出結果を「OK」にする。すなわち、システム制御部113は、S515で「Yes」と判定した場合には、焦点評価値のピークが検出されたと判定する。そしてS525へ進む。
S521では、システム制御部113は、焦点評価値の変化がない回数が加減速判定閾値よりも多いかどうかを調べる。多い場合には(「Yes」であれば)S522へ進み、そうでなければ(「No」であれば)S523へ進む。
S522では、システム制御部113は、フォーカス速度を「高速」に設定する。そしてS523へ進む。
S523では、システム制御部113は、FASTAF判定を「OK」とする。そしてS524へ進む。
S524では、システム制御部113は、ピーク検出結果を「変化なし」とする。そしてS525へ進む。
S525では、システム制御部113は、設定されたフォーカス速度で、AF処理部106を介してフォーカスレンズ104を駆動する。そしてS406へ進む。
Next, the peak detection check process of S405 in FIG. 4 will be described with reference to FIG. FIG. 5 is a flowchart for explaining the peak detection check process of S405 in FIG.
First, in step S <b> 501, the
In S502, the
In step S <b> 503, the
In S504, the
In step S505, the
In step S506, the
In step S507, the
In S508, the
In step S509, the
In S510, the
In step S511, the
In S512, the
In S513, the
In S514, the
In S515, the
In S516, the
In S517, the
In step S518, the
In S519, the
In S520, the
In step S521, the
In S522, the
In step S523, the
In S524, the
In S525, the
このような処理によれば、システム制御部113は、フォーカスレンズ104をAFスキャン開始位置に駆動するまでの焦点評価値の変化の態様(すなわち、焦点評価値の形状)に基づいて、ピント位置が近傍にあるかどうかを判断できる。また、システム制御部113は、フォーカス駆動の間において、ピント位置から離れている場合にはフォーカスレンズ104を高速に駆動し、ピント位置近傍ではフォーカスレンズ104を低速に駆動する。これにより、フォーカス駆動時間を短縮できる。
According to such processing, the
次に、図3におけるS304のフォーカス速度の設定の処理について、図6を参照して説明する。図6は、図3におけるS304のフォーカス速度の設定を説明するフローチャートである。
まずS601では、システム制御部113は、FASTAF判定が「OK」かどうかを調べる。「OK」であれば(「Yes」であれば)S602へ進み、そうでなければ(「No」であれば)S608へ進む。
S602では、システム制御部113は、加速度センサ部121により検出した電子カメラ1の動き量が所定量以下かどうかを調べる。所定量以下であれば(「Yes」であれば)S603へ進み、そうでなければ(「No」であれば)S608へ進む。これにより、後述するS308,S502の焦点評価値の勾配検出において、手ぶれによる焦点評価値の変動に起因する誤検出の影響を低減することができる。
S603では、システム制御部113は、動体検出部122で検出した画角の変動が所定よりも小さいかどうかを調べる。所定量より小さい場合には(「Yes」であれば)S604へ進み、そうでなければ(「No」であれば)S608へ進む。
S604では、測距領域の輝度が所定の範囲内にあるかどうかを調べる。所定範囲内にある場合には(「Yes」であれば)S605へ進み、所定範囲内にない場合には(「No」であれば)S608へ進む。
S605では、システム制御部113は、現在のカメラ設定において焦点距離が所定よりも長いかどうかを調べる。所定よりも長い場合には(「Yes」であれば)S606へ進み、そうでなければ(「No」であれば)S608へ進む。
S606では、システム制御部113は、現在のカメラ設定において測距距離範囲が所定よりも長いかどうかを調べる。測距距離範囲が所定よりも長い場合には(「Yes」であれば)S607へ進み、そうでなければ(「No」であれば)S608へ進む。
S607では、システム制御部113は、フォーカス速度を「高速」に設定する。そしてS305へ進む。
S608では、システム制御部113は、フォーカス速度を「低速」に設定する。そしてS305へ進む。
Next, the focus speed setting process of S304 in FIG. 3 will be described with reference to FIG. FIG. 6 is a flowchart for explaining the setting of the focus speed in S304 in FIG.
First, in step S601, the
In step S <b> 602, the
In step S <b> 603, the
In S604, it is checked whether or not the brightness of the distance measurement area is within a predetermined range. If it is within the predetermined range (if “Yes”), the process proceeds to S605. If it is not within the predetermined range (if “No”), the process proceeds to S608.
In step S605, the
In step S606, the
In step S <b> 607, the
In step S608, the
次に、S308およびS502の焦点評価値の勾配検出の処理について、図7を参照して説明する。図7は、図3のS308および図5のS502の焦点評価値の勾配検出の処理の内容を示すフローチャートである。
まずS701では、システム制御部113は、S307またはS404で取得した今回のレンズ位置を「Pos1」とする。そしてS702へ進む。
S702では、システム制御部113は、S306またはS403で取得した今回の焦点評価値を「T1」とする。そしてS703へ進む。
S703では、システム制御部113は、S307またはS404で取得した前回のレンズ位置を「Pos2」とする。そしてS704へ進む。
S704では、システム制御部113は、S306またはS403で取得した前回の焦点評価値を「T2」とする。そしてS705へ進む。
S705では、システム制御部113は、焦点評価値の勾配を算出する。焦点評価値の勾配は、
(焦点評価値の勾配)=(T1 − T2)/(Pos1 − Pos2)
で算出される。そして、S309またはS503へ進む。
Next, the focus detection value gradient detection process in S308 and S502 will be described with reference to FIG. FIG. 7 is a flowchart showing the contents of focus evaluation value gradient detection processing in S308 of FIG. 3 and S502 of FIG.
First, in S701, the
In S702, the
In S703, the
In S704, the
In step S705, the
(Gradient of focus evaluation value) = (T1−T2) / (Pos1−Pos2)
Is calculated by Then, the process proceeds to S309 or S503.
次に、図3のS309、図4のS409、図5のS503における焦点評価値の勾配閾値SlopeThrの算出について、図8を参照して説明する。図8は、図3のS309、図4のS409、図5のS503における焦点評価値の勾配閾値SlopeThrの算出の処理を示すフローチャートである。
まず、S801では、システム制御部113は、現在の絞りおよびシャッター102の状態を調べ、現在の絞り値を取得する。そしてS802へ進む。
S802では、システム制御部113は、S301で設定した測距領域のサイズを取得する。そしてS803へ進む。
S803では、システム制御部113は、S301で設定した測距領域内のコントラスト値を取得する。そしてS804へ進む。「測距領域内のコントラスト値」は、S301で設定した測距領域内における輝度値の最大値と最小値の差分とする。これにより、被写体にピントが合っていなくても、測距領域内の被写体のコントラストをある程度把握することができる。
S804では、システム制御部113は、S301で設定した測距領域内の周波数を取得する。そしてS805へ進む。なお、測距領域内の周波数の取得には、公知の各種方法が適用できる。したがって詳細な説明は省略する。
S805では、システム制御部113は、現在のフォーカスレンズ104のフォーカス速度を取得する。そしてS806へ進む。
S806では、基準値SlopeThr0を決定する。基準値SlopeThr0は、後述するS807で焦点評価値の勾配閾値SlopeThrを算出する際に、焦点評価値の勾配閾値SlopeThrの基準となる値である。なお、基準値SlopeThr0は、基準となる被写体や電子カメラ1の設定において決定する。また、用途によって基準値SlopeThr0の決定の仕方を変えてもよい。例えば、図3のS303における初期フォーカス駆動では、後に行うAFスキャン動作時に被写体の焦点評価値のピークを検出できるように、被写体の焦点評価値のピークを越えた位置でフォーカス速度を減速すればよい。これに対して、AFスキャン動作時には、必要なAF精度を確保するために、被写体の焦点評価値のピーク位置を越える前に、フォーカスレンズ速度を減速しなければならない。したがって、AFスキャン前の初期フォーカス駆動中であるS409またはS502と、AFスキャン動作中のS309でSlopeThr0を変えるようにする。具体的には、初期フォーカス駆動における基準値SlopeThr0の値を、AFスキャン動作における基準値SlopeThr0の値よりも大きくする。したがって、初期フォーカス駆動における焦点評価値の勾配閾値SlopeThrの値は、AFスキャン動作における焦点評価値の勾配閾値SlopeThrの値よりも大きくなる。このような構成によれば、初期フォーカス駆動においては、フォーカスレンズ104をあらかじめ決められたスキャン開始位置に迅速に移動させることができる。そして、AFスキャン動作においては、AF精度を上げることができる。そしてS807へ進む。
S807では、システム制御部113は、焦点評価値の勾配閾値SlopeThrを算出する。焦点評価値の勾配閾値SlopeThrは、たとえば次の式によって算出される。
SlopeThr = SlopeThr0 × MMP × WinSize × Freq × (1/ Speed) × (1/ FNum)
FNum:絞り値によって決まる係数
MMP:測距領域内のコントラストによって決まる係数
Freq:測距領域内の周波数によって決まる係数
WinSize:測距領域のサイズによって決まる係数
Speed:フォーカス速度によって決まる係数
以下、前記のSlopeThr0と各係数の決定方法について説明する。まず、基準となる、F値(FNum0)、被写体コントラスト値(MMP0)、被写体の周波数(Freq0)、測距領域サイズ(WinSize0)、フォーカス速度(Speed0)のそれぞれを条件として仮に決定する。その条件における焦点評価値ピーク形状より、フォーカス速度を減速させたいタイミングの焦点評価値ピークの勾配をSlopeThr0とする。FNumは、絞り値によって決まる係数である。絞り値が変わると焦点深度が変わり焦点評価値ピークの勾配が変わるため、絞り値に応じてSlopeThrを変えるための係数としてFNumを用いる。絞り値が大きくなると焦点深度は深くなり、勾配は小さくなるので、FNumは、例えば、
FNum = FNum0 / 現在のF値
で算出して決定する。MMPは、測距領域内のコントラストによって決まる係数である。コントラスト値が高くなると焦点評価値ピークの勾配も大きくなるので、MMPは、例えば、
MMP = 現在の被写体のコントラスト値 / MMP0
で算出して決定する。Freqは、測距領域内の周波数によって決まる係数である。被写体の周波数が高くなると焦点評価値ピークの勾配も大きくなるので、Freqは、例えば、
Freq = 現在の被写体の周波数 / Freq0
で算出して決定する。WinSizeは、測距領域のサイズによって決まる係数である。測距領域のサイズが大きくなると、信号量が増えることで焦点評価値ピークの勾配も大きくなるので、WinSizeは例えば、
WinSize = 現在のWiSize / WinSize0
で算出して決定する。Speedは、フォーカス速度によって決まる係数である。Speedが速くなると焦点評価値ピークの勾配が大きくなるので、Speedは、例えば、
Speed = 現在のフォーカス速度 / Speed0
で算出して決定する。
なお、この計算式においては、基準値SlopeThr0に前記係数の全てを用いて焦点評価値の勾配閾値SlopeThrを算出しているが、前記係数の少なくとも一つを用いて算出する構成であってもよい。このような算出方法によれば、焦点評価値の勾配閾値SlpeThrは、被写体のコントラスト値、被写体の周波数、測距領域のサイズ、絞り状態、フォーカス速度のうち少なくとも一つに基づいて決定される。
これにより、被写体やカメラの設定によって焦点評価値の形状が異なっていた場合でも、被写体ピーク位置の判断を適切に行うことができる。そしてS310、S409、S503のいずれかへ進む。
Next, calculation of the gradient evaluation value slope threshold SlopeThr in S309 of FIG. 3, S409 of FIG. 4, and S503 of FIG. 5 will be described with reference to FIG. FIG. 8 is a flowchart showing processing for calculating the gradient evaluation value slope threshold SlopeThr in S309 of FIG. 3, S409 of FIG. 4, and S503 of FIG.
First, in step S801, the
In step S802, the
In step S803, the
In step S804, the
In step S <b> 805, the
In S806, a reference value SlopeThr0 is determined. The reference value SlopeThr0 is a value that serves as a reference for the focus evaluation value gradient threshold SlopeThr when calculating the focus evaluation value gradient threshold SlopeThr in S807 described later. The reference value SlopeThr0 is determined in the setting of the reference subject and the electronic camera 1. Further, how to determine the reference value SlopeThr0 may be changed depending on the application. For example, in the initial focus drive in S303 of FIG. 3, the focus speed may be reduced at a position that exceeds the peak of the focus evaluation value of the subject so that the peak of the focus evaluation value of the subject can be detected during the AF scan operation performed later. . On the other hand, during the AF scan operation, the focus lens speed must be reduced before the peak position of the focus evaluation value of the subject is exceeded in order to ensure the necessary AF accuracy. Therefore, SlopeThr0 is changed in S409 or S502 during initial focus driving before AF scan and in S309 during AF scan operation. Specifically, the reference value SlopeThr0 in the initial focus drive is set to be larger than the reference value SlopeThr0 in the AF scan operation. Therefore, the value of the gradient threshold value SlopeThr of the focus evaluation value in the initial focus drive is larger than the value of the gradient threshold value SlopeThr of the focus evaluation value in the AF scan operation. According to such a configuration, in the initial focus drive, the
In step S <b> 807, the
SlopeThr = SlopeThr0 × MMP × WinSize × Freq × (1 / Speed) × (1 / FNum)
FNum: coefficient determined by the aperture value MMP: coefficient determined by the contrast in the distance measurement area Freq: coefficient determined by the frequency in the distance measurement area WinSize: coefficient determined by the size of the distance measurement area Speed: coefficient determined by the focus speed
Hereinafter, the method of determining the above-described SlopeThr0 and each coefficient will be described. First, the F value (FNum0), the subject contrast value (MMP0), the subject frequency (Freq0), the distance measurement area size (WinSize0), and the focus speed (Speed0), which are the references, are temporarily determined. From the focus evaluation value peak shape under the condition, the slope of the focus evaluation value peak at the timing when the focus speed is desired to be decelerated is set to SlopeThr0. FNum is a coefficient determined by the aperture value. When the aperture value changes, the depth of focus changes and the gradient of the focus evaluation value peak changes. Therefore, FNum is used as a coefficient for changing SlopeThr according to the aperture value. As the aperture value increases, the depth of focus becomes deeper and the gradient becomes smaller.
FNum = FNum0 / current F value
Calculate and decide on. MMP is a coefficient determined by the contrast in the distance measurement area. Since the gradient of the focus evaluation value peak increases as the contrast value increases, the MMP is, for example,
MMP = current subject contrast value / MMP0
Calculate and decide on. Freq is a coefficient determined by the frequency in the ranging area. Since the gradient of the focus evaluation value peak increases as the frequency of the subject increases, Freq is, for example,
Freq = Current subject frequency / Freq0
Calculate and decide on. WinSize is a coefficient determined by the size of the distance measurement area. As the size of the distance measurement area increases, the signal amount increases and the gradient of the focus evaluation value peak also increases.
WinSize = current WiSize / WinSize0
Calculate and decide on. Speed is a coefficient determined by the focus speed. Since the gradient of the focus evaluation value peak increases as the speed increases, the speed is, for example,
Speed = Current focus speed / Speed0
Calculate and decide on.
In this calculation formula, the gradient threshold value SlopeThr of the focus evaluation value is calculated using all of the coefficients as the reference value SlopeThr0. However, the calculation formula may be calculated using at least one of the coefficients. . According to such a calculation method, the gradient threshold value SlpeThr of the focus evaluation value is determined based on at least one of the contrast value of the subject, the frequency of the subject, the size of the ranging area, the aperture state, and the focus speed.
Thereby, even when the shape of the focus evaluation value differs depending on the setting of the subject and the camera, it is possible to appropriately determine the subject peak position. Then, the process proceeds to any of S310, S409, and S503.
本実施例では、焦点評価値の勾配が所定の閾値より大きいかどうかを判断することにより、低速または高速の2値でフォーカスレンズ速度の調節を行っているが、焦点評価値の勾配によりフォーカス速度を細かく可変させてもよい。 In this embodiment, the focus lens speed is adjusted at a low speed or a high speed binary value by determining whether the gradient of the focus evaluation value is larger than a predetermined threshold value. May be finely varied.
以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施形態の一部を適宜組み合わせてもよい。また、上述の実施形態の機能を実現するソフトウェアのプログラムを、記録媒体から直接、或いは有線/無線通信を用いてプログラムを実行可能なコンピュータを有するシステム又は装置に供給し、そのプログラムを実行する場合も本発明に含む。従って、本発明の機能処理をコンピュータで実現するために、該コンピュータに供給、インストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明の機能処理を実現するためのコンピュータプログラム自体も本発明に含まれる。その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。プログラムを供給するための記録媒体としては、例えば、ハードディスク、磁気テープ等の磁気記録媒体、光/光磁気記憶媒体、不揮発性の半導体メモリでもよい。また、プログラムの供給方法としては、コンピュータネットワーク上のサーバに本発明を形成するコンピュータプログラムを記憶し、接続のあったクライアントコンピュータがコンピュータプログラムをダウンロードしてプログラムするような方法も考えられる。 Although the present invention has been described in detail based on preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. included. A part of the above-described embodiments may be appropriately combined. Also, when a software program that realizes the functions of the above-described embodiments is supplied from a recording medium directly to a system or apparatus having a computer that can execute the program using wired / wireless communication, and the program is executed Are also included in the present invention. Accordingly, the program code itself supplied and installed in the computer in order to implement the functional processing of the present invention by the computer also realizes the present invention. That is, the computer program itself for realizing the functional processing of the present invention is also included in the present invention. In this case, the program may be in any form as long as it has a program function, such as an object code, a program executed by an interpreter, or script data supplied to the OS. As a recording medium for supplying the program, for example, a magnetic recording medium such as a hard disk or a magnetic tape, an optical / magneto-optical storage medium, or a nonvolatile semiconductor memory may be used. As a program supply method, a computer program that forms the present invention is stored in a server on a computer network, and a connected client computer downloads and programs the computer program.
101:撮影レンズ、102:絞りおよびシャッター、103:AE処理部、104:フォーカスレンズ、105:モータ、106:AF処理部、107:撮像素子、108:A/D変換部、109:画像処理部、110:フォーマット変換部、111:DRAM、112:画像記録部、113:システム制御部、114:VRAM、115:画像表示部、116:操作部、117:撮影モードスイッチ、118:メインスイッチ、119:撮影スタンバイスイッチ、120:撮影スイッチ、121:加速度センサ部、122:動体検出部 101: Shooting lens, 102: Aperture and shutter, 103: AE processing unit, 104: Focus lens, 105: Motor, 106: AF processing unit, 107: Image sensor, 108: A / D conversion unit, 109: Image processing unit 110: Format conversion unit, 111: DRAM, 112: Image recording unit, 113: System control unit, 114: VRAM, 115: Image display unit, 116: Operation unit, 117: Shooting mode switch, 118: Main switch, 119 : Shooting standby switch, 120: shooting switch, 121: acceleration sensor unit, 122: moving object detection unit
Claims (6)
前記制御部は、前記フォーカスレンズを駆動させながら取得した前記焦点評価値の勾配が所定の閾値以上かどうかまたは前記焦点評価値の変化に基づいてフォーカス速度を設定するとともに、前記所定の閾値を、被写体のコントラスト値、被写体の周波数、前記所定の領域のサイズ、絞り状態、フォーカス速度のうち少なくとも一つに基づいて決定することを特徴とする撮像装置。 An imaging apparatus including a control unit and a processing unit for obtaining a focus evaluation value indicating a contrast of a subject in a predetermined region and driving a focus lens so that the focus evaluation value is maximized,
The control unit sets a focus speed based on whether the gradient of the focus evaluation value acquired while driving the focus lens is equal to or higher than a predetermined threshold or a change in the focus evaluation value, and sets the predetermined threshold to An image pickup apparatus, which is determined based on at least one of a contrast value of a subject, a frequency of the subject, a size of the predetermined region, a diaphragm state, and a focus speed.
前記被写体のコントラスト値、前記被写体の周波数、前記所定の領域のサイズ、絞り状態、フォーカス速度のうち少なくとも一つに基づいて、前記フォーカスレンズがピント位置近傍にあるかどうかを示す指標となる所定の閾値を決定するステップと、
前記フォーカスレンズを駆動させながら取得した前記焦点評価値の勾配が前記所定の閾値以上であるかまたは前記焦点評価値の勾配の変化に基づいて前記フォーカスレンズがピント位置近傍にあるかどうかを判定するステップと、
前記判定の結果に基づいて前記フォーカス速度を設定するステップと、
を有することを特徴とする撮像装置の制御方法。 A method for controlling an imaging apparatus that obtains a focus evaluation value indicating a contrast of a subject in a predetermined area and drives a focus lens so that the focus evaluation value is maximized,
Based on at least one of the contrast value of the subject, the frequency of the subject, the size of the predetermined region, the aperture state, and the focus speed, a predetermined index serving as an index indicating whether or not the focus lens is near the focus position Determining a threshold;
It is determined whether the gradient of the focus evaluation value acquired while driving the focus lens is equal to or greater than the predetermined threshold value or whether the focus lens is in the vicinity of the focus position based on a change in the gradient of the focus evaluation value. Steps,
Setting the focus speed based on the result of the determination;
A method for controlling an imaging apparatus, comprising:
前記被写体のコントラスト値、前記被写体の周波数、前記所定の領域のサイズ、絞り状態、フォーカス速度のうち少なくとも一つに基づいて、前記フォーカスレンズがピント位置近傍にあるかどうかを示す指標となる所定の閾値を決定するステップと、
前記フォーカスレンズを駆動させながら取得した前記焦点評価値の勾配が前記所定の閾値以上であるかまたは前記焦点評価値の勾配の変化に基づいて前記フォーカスレンズがピント位置近傍にあるかどうかを判定するステップと、
前記判定の結果に基づいて前記フォーカス速度を設定するステップと、
を実行させることを特徴とするプログラム。 A focus evaluation value indicating the contrast of a subject in a predetermined area is obtained, and the computer of the imaging apparatus that drives the focus lens so that the focus evaluation value is maximized,
Based on at least one of the contrast value of the subject, the frequency of the subject, the size of the predetermined region, the aperture state, and the focus speed, a predetermined index serving as an index indicating whether or not the focus lens is near the focus position Determining a threshold;
It is determined whether the gradient of the focus evaluation value acquired while driving the focus lens is equal to or greater than the predetermined threshold value or whether the focus lens is in the vicinity of the focus position based on a change in the gradient of the focus evaluation value. Steps,
Setting the focus speed based on the result of the determination;
A program characterized by having executed.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011279690A JP5868163B2 (en) | 2011-12-21 | 2011-12-21 | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM |
US13/618,734 US9036075B2 (en) | 2011-11-14 | 2012-09-14 | Image pickup apparatus, method for controlling the same, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011279690A JP5868163B2 (en) | 2011-12-21 | 2011-12-21 | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2013130683A true JP2013130683A (en) | 2013-07-04 |
JP2013130683A5 JP2013130683A5 (en) | 2015-02-05 |
JP5868163B2 JP5868163B2 (en) | 2016-02-24 |
Family
ID=48908289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011279690A Active JP5868163B2 (en) | 2011-11-14 | 2011-12-21 | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5868163B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015094925A (en) * | 2013-11-14 | 2015-05-18 | キヤノン株式会社 | Focus adjustment device, focus adjustment method and program, and imaging device having focus adjustment device |
JP2016143022A (en) * | 2015-02-05 | 2016-08-08 | オリンパス株式会社 | Imaging device and imaging method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0686143A (en) * | 1992-08-31 | 1994-03-25 | Canon Inc | Autofocus controller |
JP2002318341A (en) * | 2001-04-20 | 2002-10-31 | Fuji Photo Film Co Ltd | Device and method for automatic focusing |
JP2004085673A (en) * | 2002-08-23 | 2004-03-18 | Fuji Photo Optical Co Ltd | Autofocus system |
JP2005099785A (en) * | 2003-08-29 | 2005-04-14 | Victor Co Of Japan Ltd | Automatic focusing device |
JP2005141068A (en) * | 2003-11-07 | 2005-06-02 | Canon Inc | Automatic focusing device, automatic focusing method, and control program readable by computer |
JP2005250127A (en) * | 2004-03-04 | 2005-09-15 | Fujinon Corp | Autofocus system |
JP2010243815A (en) * | 2009-04-07 | 2010-10-28 | Lasertec Corp | Mechanism and method for detecting focus |
JP2010266742A (en) * | 2009-05-15 | 2010-11-25 | Elmo Co Ltd | Imaging apparatus and focusing method |
-
2011
- 2011-12-21 JP JP2011279690A patent/JP5868163B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0686143A (en) * | 1992-08-31 | 1994-03-25 | Canon Inc | Autofocus controller |
JP2002318341A (en) * | 2001-04-20 | 2002-10-31 | Fuji Photo Film Co Ltd | Device and method for automatic focusing |
JP2004085673A (en) * | 2002-08-23 | 2004-03-18 | Fuji Photo Optical Co Ltd | Autofocus system |
JP2005099785A (en) * | 2003-08-29 | 2005-04-14 | Victor Co Of Japan Ltd | Automatic focusing device |
JP2005141068A (en) * | 2003-11-07 | 2005-06-02 | Canon Inc | Automatic focusing device, automatic focusing method, and control program readable by computer |
JP2005250127A (en) * | 2004-03-04 | 2005-09-15 | Fujinon Corp | Autofocus system |
JP2010243815A (en) * | 2009-04-07 | 2010-10-28 | Lasertec Corp | Mechanism and method for detecting focus |
JP2010266742A (en) * | 2009-05-15 | 2010-11-25 | Elmo Co Ltd | Imaging apparatus and focusing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015094925A (en) * | 2013-11-14 | 2015-05-18 | キヤノン株式会社 | Focus adjustment device, focus adjustment method and program, and imaging device having focus adjustment device |
JP2016143022A (en) * | 2015-02-05 | 2016-08-08 | オリンパス株式会社 | Imaging device and imaging method |
Also Published As
Publication number | Publication date |
---|---|
JP5868163B2 (en) | 2016-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9152010B2 (en) | Auto focus adjusting method, auto focus adjusting apparatus, and digital photographing apparatus including the same | |
JP2015094925A (en) | Focus adjustment device, focus adjustment method and program, and imaging device having focus adjustment device | |
US10230903B2 (en) | Image pickup apparatus having image sensor capable of outputting parallax image signal, control method therefor, and storage medium storing control program therefor | |
US10944895B2 (en) | Accessory apparatus, image-capturing apparatus, control apparatus, lens apparatus, control method, computer program and storage medium storing computer program | |
JP2011248159A (en) | Imaging apparatus, imaging system, imaging apparatus control method and program | |
US10708503B2 (en) | Image capture system, image capturing apparatus, lens unit, control methods therefor, and storage medium | |
JP2011039433A (en) | Imaging apparatus, and method for controlling the same | |
US9036075B2 (en) | Image pickup apparatus, method for controlling the same, and storage medium | |
JP5868163B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM | |
JP6234016B2 (en) | Focus adjustment device, imaging device, and control method thereof | |
US9277114B2 (en) | Image pickup apparatus to which a lens unit with a focus lens is attachable and capable of performing accurate and fast focus detection, method of controlling image pickup apparatus, and non-transitory computer-readable storage medium | |
JP6032884B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM | |
JP2014038288A (en) | Focus adjustment device and control method therefor | |
JP2005141068A (en) | Automatic focusing device, automatic focusing method, and control program readable by computer | |
JP6105917B2 (en) | Focus adjustment apparatus and method, and imaging apparatus | |
KR101979803B1 (en) | High speed continuous shooting Digital photographing apparatus and method for controlling the same | |
JP2012123339A (en) | Focusing device, and control method and program for the same | |
JP5904781B2 (en) | Automatic focus adjustment device, control method thereof, and program | |
JP6087538B2 (en) | Automatic focus detection apparatus, control method therefor, and imaging apparatus | |
JP2015111226A (en) | Subject tracking device and control method of the same, imaging device, program, and storage medium | |
JP6202880B2 (en) | IMAGING DEVICE, IMAGING SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
KR102350926B1 (en) | Method to control Auto Focus | |
JP2008058498A (en) | Imaging apparatus | |
JP2014021262A (en) | Focus adjustment device, imaging apparatus, and control method of focus adjustment device | |
JP5938268B2 (en) | Imaging apparatus and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141211 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141211 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150824 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150901 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151023 |
|
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: 20151208 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160105 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5868163 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |